Skip to main content

IGenerateCrudServices

Assembly: ServiceStack.Server.dll
View Source
Declaration
public interface IGenerateCrudServices

Properties

IncludeCrudOperations

View Source
Declaration
List<string> IncludeCrudOperations { get; set; }

ExcludeTables

View Source
Declaration
List<string> ExcludeTables { get; set; }

CreateServices

Generate services

View Source
Declaration
List<CreateCrudServices> CreateServices { get; set; }

GenerateOperationsFilter

View Source
Declaration
Action<AutoGenContext> GenerateOperationsFilter { get; set; }

ResolveColumnType

View Source
Declaration
Func<ColumnSchema, IOrmLiteDialectProvider, Type> ResolveColumnType { get; set; }

MetadataTypesFilter

View Source
Declaration
Action<MetadataTypes, MetadataTypesConfig, IRequest> MetadataTypesFilter { get; set; }

TypeFilter

View Source
Declaration
Action<MetadataType, IRequest> TypeFilter { get; set; }

ServiceFilter

View Source
Declaration
Action<MetadataOperationType, IRequest> ServiceFilter { get; set; }

IncludeType

View Source
Declaration
Func<MetadataType, bool> IncludeType { get; set; }

IncludeService

View Source
Declaration
Func<MetadataOperationType, bool> IncludeService { get; set; }

AddDataContractAttributes

View Source
Declaration
bool AddDataContractAttributes { get; set; }

AddIndexesToDataMembers

View Source
Declaration
bool AddIndexesToDataMembers { get; set; }

AccessRole

View Source
Declaration
string AccessRole { get; set; }

TableSchemasFilter

View Source
Declaration
Action<List<TableSchema>> TableSchemasFilter { get; set; }

Methods

GetCachedDbSchema(IDbConnectionFactory, String, String, List<String>, List<String>)

View Source
Declaration
DbSchema GetCachedDbSchema(IDbConnectionFactory dbFactory, string schema = null, string namedConnection = null, List<string> includeTables = null, List<string> excludeTables = null)
Returns

ServiceStack.DbSchema

Parameters
TypeName
ServiceStack.Data.IDbConnectionFactorydbFactory
System.Stringschema
System.StringnamedConnection
List<System.String>includeTables
List<System.String>excludeTables

Register(IAppHost)

View Source
Declaration
void Register(IAppHost appHost)
Parameters
TypeName
ServiceStack.IAppHostappHost

GenerateMissingServices(AutoQueryFeature)

View Source
Declaration
List<Type> GenerateMissingServices(AutoQueryFeature feature)
Returns

List<Type>

Parameters
TypeName
ServiceStack.AutoQueryFeaturefeature