/// <summary> CTor</summary> /// <param name="validator">The custom validator object for this ProductSectionEntity</param> public ProductSectionEntity(ProductSectionValidator validator) : base("ProductSectionEntity") { InitClassEmpty(validator, CreateFields()); }
/// <summary> CTor</summary> /// <param name="id">PK value for ProductSection which data should be fetched into this ProductSection object</param> /// <param name="validator">The custom validator object for this ProductSectionEntity</param> /// <remarks>The entity is not fetched by this constructor. Use a DataAccessAdapter for that.</remarks> public ProductSectionEntity(System.Int32 id, ProductSectionValidator validator) : base("ProductSectionEntity") { InitClassEmpty(validator, CreateFields()); this.Id = id; }