Class HoldCode
This class represents the EntityModel interface to the SyHoldCode database table.
Inheritance
System.Object
HoldCode
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Cmc.Nexus.Models.Common
Assembly: Cmc.Nexus.Models.dll
Syntax
public class HoldCode
Constructors
HoldCode()
Declaration
public HoldCode()
Properties
Area
Gets or sets the Area associated with this HoldCode.
Declaration
public string Area { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The Area. |
Code
Gets or sets the Code associated with this HoldCode.
Declaration
public string Code { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The Code. |
Id
Gets or sets the Id associated with this HoldCode.
Declaration
public int Id { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 | The Id. |
Name
Gets or sets the Name associated with this HoldCode.
Declaration
public string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The Name. |
Methods
GeneratedInitializer()
This is the auto-generated initializer that knows how to deal with any relationship initialization for auto-generated relationships.
Declaration
public void GeneratedInitializer()
SetupFluentMappings(DbModelBuilder)
Any type of relationship that can't be inferred from the entity annotations must be done by hand using the Fluent api. Handle those relationships here.
Declaration
public static void SetupFluentMappings(DbModelBuilder modelBuilder)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Data.Entity.DbModelBuilder | modelBuilder | The DbModelBuilder that has all of the model entities. |