Skip to main content

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

ToHttpMethod(String)

View Source
Declaration
public static string ToHttpMethod(string operation)
Returns

System.String

Parameters
TypeName
System.Stringoperation

ToHttpMethod(Type)

View Source
Declaration
public static string ToHttpMethod(Type requestType)
Returns

System.String

Parameters
TypeName
System.TyperequestType

ToOperation(Type)

View Source
Declaration
public static string ToOperation(Type genericDef)
Returns

System.String

Parameters
TypeName
System.TypegenericDef

GetAutoQueryGenericDefTypes(Type, Type)

View Source
Declaration
public static AutoQueryDtoType? GetAutoQueryGenericDefTypes(Type requestType, Type opType)
Returns

System.Nullable<ServiceStack.AutoQueryDtoType>

Parameters
TypeName
System.TyperequestType
System.TypeopType

GetAutoQueryDtoType(Type)

View Source
Declaration
public static AutoQueryDtoType? GetAutoQueryDtoType(Type requestType)
Returns

System.Nullable<ServiceStack.AutoQueryDtoType>

Parameters
TypeName
System.TyperequestType

GetAutoCrudDtoType(Type)

View Source
Declaration
public static AutoQueryDtoType? GetAutoCrudDtoType(Type requestType)
Returns

System.Nullable<ServiceStack.AutoQueryDtoType>

Parameters
TypeName
System.TyperequestType

AssertAutoCrudDtoType(Type)

View Source
Declaration
public static AutoQueryDtoType AssertAutoCrudDtoType(Type requestType)
Returns

ServiceStack.AutoQueryDtoType

Parameters
TypeName
System.TyperequestType

GetModelType(Type)

View Source
Declaration
public static Type GetModelType(Type requestType)
Returns

System.Type

Parameters
TypeName
System.TyperequestType

GetViewModelType(Type, Type)

View Source
Declaration
public static Type GetViewModelType(Type requestType, Type responseType)
Returns

System.Type

Parameters
TypeName
System.TyperequestType
System.TyperesponseType

HasNamedConnection(MetadataType, String)

View Source
Declaration
public static bool HasNamedConnection(this MetadataType type, string name)
Returns

System.Boolean

Parameters
TypeName
ServiceStack.MetadataTypetype
System.Stringname

IsRequestDto(MetadataType)

View Source
Declaration
public static bool IsRequestDto(this MetadataType type)
Returns

System.Boolean

Parameters
TypeName
ServiceStack.MetadataTypetype