One One Class

Definition

[Table("Sample")]
public class One
<Table("Sample")>
Public Class One
Inheritance
System.ObjectSystem.Object
OneOne
Attributes
System.ComponentModel.DataAnnotations.Schema.TableAttribute

Inherited Members

System.Object

System.Object.ToString()System.Object.ToString()
System.Object.Equals(System.Object)System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()System.Object.GetHashCode()
System.Object.GetType()System.Object.GetType()
System.Object.MemberwiseClone()System.Object.MemberwiseClone()

Properties

IgnoredProperty IgnoredProperty

[NotMapped]
public string IgnoredProperty { get; set; }
<NotMapped>
Public Property IgnoredProperty As String
Value
System.String System.String

MaxLengthProperty MaxLengthProperty

[MaxLength(10)]
public string MaxLengthProperty { get; set; }
<MaxLength(10)>
Public Property MaxLengthProperty As String
Value
System.String System.String

RequiredColumn RequiredColumn

[Required]
[Column("Name")]
public string RequiredColumn { get; set; }
<Required>
<Column("Name")>
Public Property RequiredColumn As String
Value
System.String System.String

RowVersion RowVersion

[ConcurrencyCheck]
public Guid RowVersion { get; set; }
<ConcurrencyCheck>
Public Property RowVersion As Guid
Value
System.Guid System.Guid

UniqueNo UniqueNo

[Key]
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
public int UniqueNo { get; set; }
<Key>
<DatabaseGenerated(DatabaseGeneratedOption.Identity)>
Public Property UniqueNo As Integer
Value
System.Int32 System.Int32