• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

C# IEntityFields2类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了C#中IEntityFields2的典型用法代码示例。如果您正苦于以下问题:C# IEntityFields2类的具体用法?C# IEntityFields2怎么用?C# IEntityFields2使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。



IEntityFields2类属于命名空间,在下文中一共展示了IEntityFields2类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的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


示例16: Create

 /// <summary>
 /// 创建实体
 /// </summary>
 /// <param name="fields">字段集合接口</param>
 /// <returns>实体接口</returns>
 public override IEntity2 Create(IEntityFields2 fields)
 {
     IEntity2 toReturn = new VO_WF_LZXX(fields);
     return toReturn;
 }
开发者ID:wxanywhere,项目名称:WX_DEMO,代码行数:10,代码来源:VO_WF_LZXX.cs


示例17: CustomerCustomerDemoEntity

 /// <summary> CTor</summary>
 /// <remarks>For framework usage.</remarks>
 /// <param name="fields">Fields object to set as the fields for this entity.</param>
 public CustomerCustomerDemoEntity(IEntityFields2 fields)
     : base("CustomerCustomerDemoEntity")
 {
     InitClassEmpty(null, fields);
 }
开发者ID:jhoekstrapiramidenl,项目名称:LLBLGenPro_SS_Api_Razor_Templates,代码行数:8,代码来源:CustomerCustomerDemoEntity.cs


示例18: EmployeeEntity

		/// <summary> CTor</summary>
		/// <remarks>For framework usage.</remarks>
		/// <param name="fields">Fields object to set as the fields for this entity.</param>
		public EmployeeEntity(IEntityFields2 fields):base("EmployeeEntity")
		{
			InitClassEmpty(null, fields);
		}
开发者ID:perbrage,项目名称:RawDataAccessBencher,代码行数:7,代码来源:EmployeeEntity.cs


示例19: ArtworkToRoleEntity

 /// <summary> CTor</summary>
 /// <remarks>For framework usage.</remarks>
 /// <param name="fields">Fields object to set as the fields for this entity.</param>
 public ArtworkToRoleEntity(IEntityFields2 fields)
     : base("ArtworkToRoleEntity")
 {
     InitClassEmpty(null, fields);
 }
开发者ID:MichelZ,项目名称:TVJunkie,代码行数:8,代码来源:ArtworkToRoleEntity.cs


示例20: PageLocalizationEntity

 /// <summary> CTor</summary>
 /// <remarks>For framework usage.</remarks>
 /// <param name="fields">Fields object to set as the fields for this entity.</param>
 public PageLocalizationEntity(IEntityFields2 fields)
     : base("PageLocalizationEntity")
 {
     InitClassEmpty(null, fields);
 }
开发者ID:MonoSoftware,项目名称:MonoX-Data-Access-Layer,代码行数:8,代码来源:PageLocalizationEntity.cs



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


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
C# IEntityMapping类代码示例发布时间:2022-05-24
下一篇:
C# IEntityFactory类代码示例发布时间:2022-05-24
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap