Skip to main content

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
TypeName
System.Stringname

AddDtoPropertyToRemove(PropertyInfo)

View Source
Declaration
public void AddDtoPropertyToRemove(PropertyInfo pi)
Parameters
TypeName
PropertyInfopi

AddNullableProperty(String)

View Source
Declaration
public void AddNullableProperty(string propName)
Parameters
TypeName
System.StringpropName

Set(String, AutoMapAttribute)

View Source
Declaration
public void Set(string propName, AutoMapAttribute mapAttr)
Parameters
TypeName
System.StringpropName
ServiceStack.AutoMapAttributemapAttr

Set(String, AutoDefaultAttribute)

View Source
Declaration
public void Set(string propName, AutoDefaultAttribute defaultAttr)
Parameters
TypeName
System.StringpropName
ServiceStack.AutoDefaultAttributedefaultAttr

Set(String, AutoUpdateAttribute)

View Source
Declaration
public void Set(string propName, AutoUpdateAttribute updateAttr)
Parameters
TypeName
System.StringpropName
ServiceStack.AutoUpdateAttributeupdateAttr

Set(String, InputAttribute)

View Source
Declaration
public void Set(string propName, InputAttribute inputAttr)
Parameters
TypeName
System.StringpropName
ServiceStack.InputAttributeinputAttr

Set(String, ValidateAttribute)

View Source
Declaration
public void Set(string propName, ValidateAttribute validateAttr)
Parameters
TypeName
System.StringpropName
ServiceStack.ValidateAttributevalidateAttr

Add(AutoPopulateAttribute)

View Source
Declaration
public void Add(AutoPopulateAttribute populateAttr)
Parameters
TypeName
ServiceStack.AutoPopulateAttributepopulateAttr

Add(AutoFilterAttribute)

View Source
Declaration
public void Add(AutoFilterAttribute filterAttr)
Parameters
TypeName
ServiceStack.AutoFilterAttributefilterAttr