Early Preview
This is currently very much a preview. Please feel free to try things out,
but don't be upset if anything is not yet working. Feedback is welcome over on our
GitHub Dicussions page.
class System.​ComponentModel.​DataAnnotations.​Schema.​DatabaseGeneratedAttribute
Assembly: System.ComponentModel.Annotations
Inheritance: object → Attribute → DatabaseGeneratedAttribute
Specifies how the database generates values for a property.
Properties
public
DatabaseGeneratedOption
DatabaseGeneratedOption
Gets or sets the pattern used to generate values for the property in the database.
public
object
TypeId
Methods
protected
void
Finalize​()
Inherited from object
protected
object
MemberwiseClone​()
Inherited from object
public
string
ToString​()
Inherited from object