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

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

Methods

Equals(Object) Equals(Object)

Inherited from System.Object

Equals(Object, Object) Equals(Object, Object)

Inherited from System.Object

GetHashCode() GetHashCode()

Inherited from System.Object

GetType() GetType()

Inherited from System.Object

MemberwiseClone() MemberwiseClone()

Inherited from System.Object

ReferenceEquals(Object, Object) ReferenceEquals(Object, Object)

Inherited from System.Object

ToString() ToString()

Inherited from System.Object