当前位置: 首页>>代码示例>>C#>>正文


C# IEntityFields2类代码示例

本文整理汇总了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;
        }
开发者ID:oguzhankahyaoglu,项目名称:WebApiTest,代码行数:11,代码来源:EntityFactories.cs

示例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);
 }
开发者ID:jhoekstrapiramidenl,项目名称:LLBLGenPro_SS_Api_Razor_Templates,代码行数:8,代码来源:OrderEntity.cs

示例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
        }
开发者ID:rrmarriott,项目名称:DirectSports,代码行数:13,代码来源:UserRoleLinkEntity.cs

示例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();
        }
开发者ID:jbijlsma,项目名称:LLBLGenPro_SS_Api_Razor_Templates,代码行数:15,代码来源:CategoryEntity.cs

示例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);
		}
开发者ID:perbrage,项目名称:RawDataAccessBencher,代码行数:7,代码来源:ProductReviewEntity.cs

示例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);
		}
开发者ID:ck-lee,项目名称:RawDataAccessBencher,代码行数:7,代码来源:ShoppingCartItemEntity.cs

示例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);
		}
开发者ID:tdhung80,项目名称:RawDataAccessBencher,代码行数:7,代码来源:SalesPersonQuotaHistoryEntity.cs

示例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);
		}
开发者ID:ck-lee,项目名称:RawDataAccessBencher,代码行数:7,代码来源:BusinessEntityAddressEntity.cs

示例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();
 }
开发者ID:wxanywhere,项目名称:WX_DEMO,代码行数:15,代码来源:VO_WF_LZXX.cs

示例10: VO_WF_LZXX

 /// <summary>
 /// 构造函数
 /// </summary>
 /// <param name="fields">实体字段集合</param>
 public VO_WF_LZXX(IEntityFields2 fields)
     : base(EntityName)
 {
     InitClassEmpty(null, fields);
 }
开发者ID:wxanywhere,项目名称:WX_DEMO,代码行数:9,代码来源:VO_WF_LZXX.cs

示例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);
		}
开发者ID:tdhung80,项目名称:RawDataAccessBencher,代码行数:7,代码来源:ProductCostHistoryEntity.cs

示例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);
		}
开发者ID:ck-lee,项目名称:RawDataAccessBencher,代码行数:7,代码来源:PurchaseOrderHeaderEntity.cs

示例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);
 }
开发者ID:jbijlsma,项目名称:LLBLGenPro_SS_Api_Razor_Templates,代码行数:8,代码来源:SupplierEntity.cs

示例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);
 }
开发者ID:MonoSoftware,项目名称:MonoX-Data-Access-Layer,代码行数:8,代码来源:PrivacyLevelDefinitionEntity.cs

示例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);
		}
开发者ID:tdhung80,项目名称:RawDataAccessBencher,代码行数:7,代码来源:UnitMeasureEntity.cs


注:本文中的IEntityFields2类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。