AutoCrudMetadata
Assembly: ServiceStack.Server.dll
View Source
Declaration
public class AutoCrudMetadata : object
Properties
DtoType
View Source
Declaration
public Type DtoType { get; set; }
ModelType
View Source
Declaration
public Type ModelType { get; set; }
ModelDef
View Source
Declaration
public ModelDefinition ModelDef { get; set; }
DtoProps
View Source
Declaration
public TypeProperties DtoProps { get; set; }
PopulateAttrs
View Source
Declaration
public List<AutoPopulateAttribute> PopulateAttrs { get; set; }
AutoFilters
View Source
Declaration
public List<AutoFilterAttribute> AutoFilters { get; set; }
AutoFiltersDbFields
View Source
Declaration
public List<QueryDbFieldAttribute> AutoFiltersDbFields { get; set; }
AutoApplyAttrs
View Source
Declaration
public List<AutoApplyAttribute> AutoApplyAttrs { get; set; }
UpdateAttrs
View Source
Declaration
public Dictionary<string, AutoUpdateAttribute> UpdateAttrs { get; set; }
DefaultAttrs
View Source
Declaration
public Dictionary<string, AutoDefaultAttribute> DefaultAttrs { get; set; }
MapAttrs
View Source
Declaration
public Dictionary<string, AutoMapAttribute> MapAttrs { get; set; }
ValidateAttrs
View Source
Declaration
public Dictionary<string, ValidateAttribute> ValidateAttrs { get; set; }
MapInputs
View Source
Declaration
public Dictionary<string, InputInfo> MapInputs { get; set; }
NullableProps
View Source
Declaration
public HashSet<string> NullableProps { get; set; }
RemoveDtoProps
View Source
Declaration
public List<string> RemoveDtoProps { get; set; }
RowVersionGetter
View Source
Declaration
public GetMemberDelegate RowVersionGetter { get; set; }
SoftDelete
View Source
Declaration
public bool SoftDelete { get; set; }
DenyReset
View Source
Declaration
public HashSet<string> DenyReset { get; set; }
Methods
HasAutoApply(String)
View Source
Declaration
public bool HasAutoApply(string name)
Returns
System.Boolean
Parameters
Type | Name |
---|---|
System.String | name |
AddDtoPropertyToRemove(PropertyInfo)
View Source
Declaration
public void AddDtoPropertyToRemove(PropertyInfo pi)
Parameters
Type | Name |
---|---|
PropertyInfo | pi |
AddNullableProperty(String)
View Source
Declaration
public void AddNullableProperty(string propName)
Parameters
Type | Name |
---|---|
System.String | propName |
Set(String, AutoMapAttribute)
View Source
Declaration
public void Set(string propName, AutoMapAttribute mapAttr)
Parameters
Type | Name |
---|---|
System.String | propName |
ServiceStack.AutoMapAttribute | mapAttr |
Set(String, AutoDefaultAttribute)
View Source
Declaration
public void Set(string propName, AutoDefaultAttribute defaultAttr)
Parameters
Type | Name |
---|---|
System.String | propName |
ServiceStack.AutoDefaultAttribute | defaultAttr |
Set(String, AutoUpdateAttribute)
View Source
Declaration
public void Set(string propName, AutoUpdateAttribute updateAttr)
Parameters
Type | Name |
---|---|
System.String | propName |
ServiceStack.AutoUpdateAttribute | updateAttr |
Set(String, InputAttribute)
View Source
Declaration
public void Set(string propName, InputAttribute inputAttr)
Parameters
Type | Name |
---|---|
System.String | propName |
ServiceStack.InputAttribute | inputAttr |
Set(String, ValidateAttribute)
View Source
Declaration
public void Set(string propName, ValidateAttribute validateAttr)
Parameters
Type | Name |
---|---|
System.String | propName |
ServiceStack.ValidateAttribute | validateAttr |
Add(AutoPopulateAttribute)
View Source
Declaration
public void Add(AutoPopulateAttribute populateAttr)
Parameters
Type | Name |
---|---|
ServiceStack.AutoPopulateAttribute | populateAttr |
Add(AutoFilterAttribute)
View Source
Declaration
public void Add(AutoFilterAttribute filterAttr)
Parameters
Type | Name |
---|---|
ServiceStack.AutoFilterAttribute | filterAttr |