本文整理汇总了C#中IEntityFields2类的典型用法代码示例。如果您正苦于以下问题:C# IEntityFields2类的具体用法?C# IEntityFields2怎么用?C# IEntityFields2使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
IEntityFields2类属于命名空间,在下文中一共展示了IEntityFields2类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: Create
/// <summary>Creates a new Category1Entity instance but uses a special constructor which will set the Fields object of the new IEntity2 instance to the passed in fields object.</summary>
/// <param name="fields">Populated IEntityFields2 object for the new IEntity2 to create</param>
/// <returns>Fully created and populated (due to the IEntityFields2 object) IEntity2 object</returns>
public override IEntity2 Create(IEntityFields2 fields)
{
IEntity2 toReturn = new Category1Entity(fields);
// __LLBLGENPRO_USER_CODE_REGION_START CreateNewCategory1UsingFields
// __LLBLGENPRO_USER_CODE_REGION_END
return toReturn;
}
示例2: OrderEntity
/// <summary> CTor</summary>
/// <remarks>For framework usage.</remarks>
/// <param name="fields">Fields object to set as the fields for this entity.</param>
public OrderEntity(IEntityFields2 fields)
: base("OrderEntity")
{
InitClassEmpty(null, fields);
}
示例3: InitClassEmpty
/// <summary> Initializes the class with empty data, as if it is a new Entity.</summary>
/// <param name="validator">The validator object for this UserRoleLinkEntity</param>
/// <param name="fields">Fields of this entity</param>
protected virtual void InitClassEmpty(IValidator validator, IEntityFields2 fields)
{
InitClassMembers();
base.Fields = fields;
base.IsNew=true;
base.Validator = validator;
// __LLBLGENPRO_USER_CODE_REGION_START InitClassEmpty
// __LLBLGENPRO_USER_CODE_REGION_END
}
示例4: InitClassEmpty
/// <summary> Initializes the class with empty data, as if it is a new Entity.</summary>
/// <param name="validator">The validator object for this CategoryEntity</param>
/// <param name="fields">Fields of this entity</param>
private void InitClassEmpty(IValidator validator, IEntityFields2 fields)
{
OnInitializing();
this.Fields = fields ?? CreateFields();
this.Validator = validator;
InitClassMembers();
// __LLBLGENPRO_USER_CODE_REGION_START InitClassEmpty
// __LLBLGENPRO_USER_CODE_REGION_END
OnInitialized();
}
示例5: ProductReviewEntity
/// <summary> CTor</summary>
/// <remarks>For framework usage.</remarks>
/// <param name="fields">Fields object to set as the fields for this entity.</param>
public ProductReviewEntity(IEntityFields2 fields):base("ProductReviewEntity")
{
InitClassEmpty(null, fields);
}
示例6: ShoppingCartItemEntity
/// <summary> CTor</summary>
/// <remarks>For framework usage.</remarks>
/// <param name="fields">Fields object to set as the fields for this entity.</param>
public ShoppingCartItemEntity(IEntityFields2 fields):base("ShoppingCartItemEntity")
{
InitClassEmpty(null, fields);
}
示例7: SalesPersonQuotaHistoryEntity
/// <summary> CTor</summary>
/// <remarks>For framework usage.</remarks>
/// <param name="fields">Fields object to set as the fields for this entity.</param>
public SalesPersonQuotaHistoryEntity(IEntityFields2 fields):base("SalesPersonQuotaHistoryEntity")
{
InitClassEmpty(null, fields);
}
示例8: BusinessEntityAddressEntity
/// <summary> CTor</summary>
/// <remarks>For framework usage.</remarks>
/// <param name="fields">Fields object to set as the fields for this entity.</param>
public BusinessEntityAddressEntity(IEntityFields2 fields):base("BusinessEntityAddressEntity")
{
InitClassEmpty(null, fields);
}
示例9: InitClassEmpty
/// <summary>
/// 初始化类型
/// </summary>
/// <param name="validatorChange">实体验证修改接口</param>
/// <param name="fields">字段集合</param>
protected void InitClassEmpty(IValidatorChange validatorChange, IEntityFields2 fields)
{
OnInitializing();
base.Fields = fields;
base.Fields.SumStrLength = 535;
base.IsNew = true;
base.ValidatorChange = validatorChange;
InitClassMembers();
OnInitialized();
}
示例10: VO_WF_LZXX
/// <summary>
/// 构造函数
/// </summary>
/// <param name="fields">实体字段集合</param>
public VO_WF_LZXX(IEntityFields2 fields)
: base(EntityName)
{
InitClassEmpty(null, fields);
}
示例11: ProductCostHistoryEntity
/// <summary> CTor</summary>
/// <remarks>For framework usage.</remarks>
/// <param name="fields">Fields object to set as the fields for this entity.</param>
public ProductCostHistoryEntity(IEntityFields2 fields):base("ProductCostHistoryEntity")
{
InitClassEmpty(null, fields);
}
示例12: PurchaseOrderHeaderEntity
/// <summary> CTor</summary>
/// <remarks>For framework usage.</remarks>
/// <param name="fields">Fields object to set as the fields for this entity.</param>
public PurchaseOrderHeaderEntity(IEntityFields2 fields):base("PurchaseOrderHeaderEntity")
{
InitClassEmpty(null, fields);
}
示例13: SupplierEntity
/// <summary> CTor</summary>
/// <remarks>For framework usage.</remarks>
/// <param name="fields">Fields object to set as the fields for this entity.</param>
public SupplierEntity(IEntityFields2 fields)
: base("SupplierEntity")
{
InitClassEmpty(null, fields);
}
示例14: PrivacyLevelDefinitionEntity
/// <summary> CTor</summary>
/// <remarks>For framework usage.</remarks>
/// <param name="fields">Fields object to set as the fields for this entity.</param>
public PrivacyLevelDefinitionEntity(IEntityFields2 fields)
: base("PrivacyLevelDefinitionEntity")
{
InitClassEmpty(null, fields);
}
示例15: UnitMeasureEntity
/// <summary> CTor</summary>
/// <remarks>For framework usage.</remarks>
/// <param name="fields">Fields object to set as the fields for this entity.</param>
public UnitMeasureEntity(IEntityFields2 fields):base("UnitMeasureEntity")
{
InitClassEmpty(null, fields);
}