Class SchoolDefinedField
This class represents the EntityModel interface to the syUserDict database table.
Inheritance
Inherited Members
Namespace: Cmc.Nexus.Models.Common
Assembly: Cmc.Nexus.Models.dll
Syntax
public class SchoolDefinedField
Constructors
SchoolDefinedField()
Declaration
public SchoolDefinedField()
Properties
Code
Gets or sets the Code associated with this SchoolDefinedField.
Declaration
public string Code { get; set; }
Property Value
Type | Description |
---|---|
System.String | The Code. |
CreatedDateTime
Gets or sets the CreatedDateTime associated with this SchoolDefinedField.
Declaration
public DateTime CreatedDateTime { get; set; }
Property Value
Type | Description |
---|---|
System.DateTime | The CreatedDateTime. |
DataType
Gets or sets the DataType associated with this SchoolDefinedField.
Declaration
public string DataType { get; set; }
Property Value
Type | Description |
---|---|
System.String | The DataType. |
DisplayOrder
Gets or sets the DisplayOrder associated with this SchoolDefinedField.
Declaration
public byte? DisplayOrder { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Byte> | The DisplayOrder. |
FieldDescription
Gets or sets the FieldDescription associated with this SchoolDefinedField.
Declaration
public string FieldDescription { get; set; }
Property Value
Type | Description |
---|---|
System.String | The FieldDescription. |
FieldValues
Declaration
public virtual ICollection<StudentSchoolDefinedFieldValue> FieldValues { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.ICollection<StudentSchoolDefinedFieldValue> |
HelpText
Gets or sets the HelpText associated with this SchoolDefinedField.
Declaration
public string HelpText { get; set; }
Property Value
Type | Description |
---|---|
System.String | The HelpText. |
Id
Gets or sets the Id associated with this SchoolDefinedField.
Declaration
public int Id { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The Id. |
IsActive
Gets or sets the IsActive associated with this SchoolDefinedField.
Declaration
public bool IsActive { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The IsActive. |
IsUsedForAutoAward
Gets or sets the IsUsedForAutoAward associated with this SchoolDefinedField.
Declaration
public bool IsUsedForAutoAward { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The IsUsedForAutoAward. |
LastModifiedDateTime
Gets or sets the LastModifiedDateTime associated with this SchoolDefinedField.
Declaration
public DateTime LastModifiedDateTime { get; set; }
Property Value
Type | Description |
---|---|
System.DateTime | The LastModifiedDateTime. |
LastModifiedUserId
Gets or sets the LastModifiedUserId associated with this SchoolDefinedField.
Declaration
public int LastModifiedUserId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The LastModifiedUserId. |
Length
Gets or sets the Length associated with this SchoolDefinedField.
Declaration
public int Length { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The Length. |
Precision
Gets or sets the Precision associated with this SchoolDefinedField.
Declaration
public byte Precision { get; set; }
Property Value
Type | Description |
---|---|
System.Byte | The Precision. |
ValidationText
Gets or sets the ValidationText associated with this SchoolDefinedField.
Declaration
public string ValidationText { get; set; }
Property Value
Type | Description |
---|---|
System.String | The ValidationText. |
ValidationType
Gets or sets the ValidationType associated with this SchoolDefinedField.
Declaration
public string ValidationType { get; set; }
Property Value
Type | Description |
---|---|
System.String | The ValidationType. |
Visibility
Gets or sets the Visibility associated with this SchoolDefinedField.
Declaration
public string Visibility { get; set; }
Property Value
Type | Description |
---|---|
System.String | The Visibility. |
VisibilityOnline
Gets or sets the VisibilityOnline associated with this SchoolDefinedField.
Declaration
public int VisibilityOnline { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The VisibilityOnline. |
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. |