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