|
| Builder (TModel component) |
|
virtual TBuilder | ConvertOnSet (bool convertOnSet) |
| Set to false to prevent any converters from being called during a set operation. Defaults to true. More...
|
|
virtual TBuilder | Name (string name) |
| The model name. Required More...
|
|
virtual TBuilder | BelongsTo (string belongsTo) |
| One or more BelongsTo associationa for this model. More...
|
|
virtual TBuilder | HasMany (string hasMany) |
| One or more HasMany associations for this model. More...
|
|
virtual TBuilder | HasOne (string hasOne) |
| One or more HasOne associations for this model. More...
|
|
virtual TBuilder | ClientIdProperty (string clientIdProperty) |
| The name of a property that is used for submitting this Model's unique client-side identifier to the server when multiple phantom records are saved More...
|
|
virtual TBuilder | ChildType (string childType) |
|
virtual TBuilder | Extend (string extend) |
|
virtual TBuilder | Fields (Action< ModelFieldCollection > action) |
| An array of fields definition objects More...
|
|
virtual TBuilder | IDProperty (string iDProperty) |
| The name of the field treated as this Model's unique id (defaults to 'id'). More...
|
|
virtual TBuilder | Proxy (Action< ProxyCollection > action) |
| The Proxy object which provides access to a data object. More...
|
|
virtual TBuilder | DefaultProxy (Action< ProxyCollection > action) |
| The default proxy to use for instances of this Model when no proxy is configured on the instance. When specified, the model will use this proxy instead of requesting one from the Session. More...
|
|
virtual TBuilder | DefaultProxyType (string defaultProxyType) |
| The default proxy to use for instances of this Model when no proxy is configured on the instance. When specified, the model will use this proxy instead of requesting one from the Session. More...
|
|
virtual TBuilder | Associations (Action< AssociationCollection > action) |
| Models associations More...
|
|
virtual TBuilder | Summary (object summary) |
| Summary fields are a special kind of field that is used to assist in creating an aggregation for this model. More...
|
|
virtual TBuilder | Validators (Action< ValidatorCollection > action) |
|
virtual TBuilder | Identifier (Action< ModelIdGeneratorCollection > action) |
| The id generator to use for this model. The default id generator does not generate values for the idProperty. More...
|
|
virtual TBuilder | ValidationSeparator (string validationSeparator) |
| If specified this property is used to concatenate multiple errors for each field as reported by the validators. Defaults to: null More...
|
|
virtual TBuilder | VersionProperty (string versionProperty) |
| If specified, this is the name of the property that contains the entity "version". The version property is used to manage a long-running transaction and allows the detection of simultaneous modification. More...
|
|
| Builder () |
|
| Builder (Model component) |
|
| Builder (Model.Config config) |
|
virtual Model.Builder | Fields (params ModelField[] fields) |
|
virtual Model.Builder | Fields (IEnumerable< ModelField > fields) |
|
virtual Model.Builder | Fields (params string[] fieldNames) |
|
virtual Model.Builder | Fields (string fieldName, ModelFieldType type) |
|
virtual Model.Builder | Fields (string fieldName, ModelFieldType type, string dateFormat) |
|
Model.Builder | FieldFor< T > (Action< GenericModelFieldBuilder< T >> fields) |
|
Model.Builder | FieldFor< T, TProperty > (IEnumerable< T > model, Expression< Func< T, TProperty >> expression) |
|
Model.Builder | FieldFor< T, TProperty > (T model, Expression< Func< T, TProperty >> expression) |
|
Model.Builder | IDProperty< T, TProperty > (IEnumerable< T > model, Expression< Func< T, TProperty >> expression) |
|
Model.Builder | IDProperty< T, TProperty > (T model, Expression< Func< T, TProperty >> expression) |
|
Model.Builder | EmailValidationFor< T, TProperty > (IEnumerable< T > model, Expression< Func< T, TProperty >> expression, string message=null) |
|
Model.Builder | EmailValidationFor< T, TProperty > (T model, Expression< Func< T, TProperty >> expression, string message=null) |
|
Model.Builder | PresenceValidationFor< T, TProperty > (IEnumerable< T > model, Expression< Func< T, TProperty >> expression, string message=null) |
|
Model.Builder | PresenceValidationFor< T, TProperty > (T model, Expression< Func< T, TProperty >> expression, string message=null) |
|
Model.Builder | ExclusionValidationFor< T, TProperty > (IEnumerable< T > model, Expression< Func< T, TProperty >> expression, string message=null, object[] list=null) |
|
Model.Builder | ExclusionValidationFor< T, TProperty > (T model, Expression< Func< T, TProperty >> expression, string message=null, object[] list=null) |
|
Model.Builder | InclusionValidationFor< T, TProperty > (IEnumerable< T > model, Expression< Func< T, TProperty >> expression, string message=null, object[] list=null) |
|
Model.Builder | InclusionValidationFor< T, TProperty > (T model, Expression< Func< T, TProperty >> expression, string message=null, object[] list=null) |
|
Model.Builder | FormatValidationFor< T, TProperty > (IEnumerable< T > model, Expression< Func< T, TProperty >> expression, string message=null, string matcher=null) |
|
Model.Builder | FormatValidationFor< T, TProperty > (T model, Expression< Func< T, TProperty >> expression, string message=null, string matcher=null) |
|
Model.Builder | LengthValidationFor< T, TProperty > (IEnumerable< T > model, Expression< Func< T, TProperty >> expression, string message=null, int max=int.MaxValue, int min=int.MinValue) |
|
Model.Builder | LengthValidationFor< T, TProperty > (T model, Expression< Func< T, TProperty >> expression, string message=null, int max=int.MaxValue, int min=int.MinValue) |
|