AutoCrudOperation
Assembly: ServiceStack.dll
View Source
Declaration
public static class AutoCrudOperation
Fields
Query
View Source
Declaration
public const string Query = "Query"
Create
View Source
Declaration
public const string Create = "Create"
Update
View Source
Declaration
public const string Update = "Update"
Patch
View Source
Declaration
public const string Patch = "Patch"
Delete
View Source
Declaration
public const string Delete = "Delete"
Save
View Source
Declaration
public const string Save = "Save"
Methods
IsOperation(String)
View Source
Declaration
public static bool IsOperation(string operation)
Returns
System.Boolean
Parameters
Type | Name |
---|---|
System.String | operation |
ToHttpMethod(String)
View Source
Declaration
public static string ToHttpMethod(string operation)
Returns
System.String
Parameters
Type | Name |
---|---|
System.String | operation |
ToHttpMethod(Type)
View Source
Declaration
public static string ToHttpMethod(Type requestType)
Returns
System.String
Parameters
Type | Name |
---|---|
System.Type | requestType |
ToOperation(Type)
View Source
Declaration
public static string ToOperation(Type genericDef)
Returns
System.String
Parameters
Type | Name |
---|---|
System.Type | genericDef |
GetAutoQueryGenericDefTypes(Type, Type)
View Source
Declaration
public static AutoQueryDtoType? GetAutoQueryGenericDefTypes(Type requestType, Type opType)
Returns
System.Nullable<ServiceStack.AutoQueryDtoType>
Parameters
Type | Name |
---|---|
System.Type | requestType |
System.Type | opType |
GetAutoQueryDtoType(Type)
View Source
Declaration
public static AutoQueryDtoType? GetAutoQueryDtoType(Type requestType)
Returns
System.Nullable<ServiceStack.AutoQueryDtoType>
Parameters
Type | Name |
---|---|
System.Type | requestType |
GetAutoCrudDtoType(Type)
View Source
Declaration
public static AutoQueryDtoType? GetAutoCrudDtoType(Type requestType)
Returns
System.Nullable<ServiceStack.AutoQueryDtoType>
Parameters
Type | Name |
---|---|
System.Type | requestType |
AssertAutoCrudDtoType(Type)
View Source
Declaration
public static AutoQueryDtoType AssertAutoCrudDtoType(Type requestType)
Returns
Parameters
Type | Name |
---|---|
System.Type | requestType |
GetModelType(Type)
View Source
Declaration
public static Type GetModelType(Type requestType)
Returns
System.Type
Parameters
Type | Name |
---|---|
System.Type | requestType |
GetViewModelType(Type, Type)
View Source
Declaration
public static Type GetViewModelType(Type requestType, Type responseType)
Returns
System.Type
Parameters
Type | Name |
---|---|
System.Type | requestType |
System.Type | responseType |
HasNamedConnection(MetadataType, String)
View Source
Declaration
public static bool HasNamedConnection(this MetadataType type, string name)
Returns
System.Boolean
Parameters
Type | Name |
---|---|
ServiceStack.MetadataType | type |
System.String | name |
IsRequestDto(MetadataType)
View Source
Declaration
public static bool IsRequestDto(this MetadataType type)
Returns
System.Boolean
Parameters
Type | Name |
---|---|
ServiceStack.MetadataType | type |