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
Parameters
Type | Name |
---|---|
ServiceStack.Data.IDbConnectionFactory | dbFactory |
System.String | schema |
System.String | namedConnection |
List<System.String> | includeTables |
List<System.String> | excludeTables |
Register(IAppHost)
View Source
Declaration
void Register(IAppHost appHost)
Parameters
Type | Name |
---|---|
ServiceStack.IAppHost | appHost |
GenerateMissingServices(AutoQueryFeature)
View Source
Declaration
List<Type> GenerateMissingServices(AutoQueryFeature feature)
Returns
List<Type>
Parameters
Type | Name |
---|---|
ServiceStack.AutoQueryFeature | feature |