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