Class Sql.QueryExtensionAttribute
Defines custom query extension builder.
Inheritance
System.Object
Sql.QueryExtensionAttribute
Assembly: linq2db.dll
Syntax
public class QueryExtensionAttribute : MappingAttribute
Constructors
|
Improve this Doc
View Source
QueryExtensionAttribute(Sql.QueryExtensionScope, Type)
Declaration
public QueryExtensionAttribute(Sql.QueryExtensionScope scope, Type extensionBuilderType)
Parameters
|
Improve this Doc
View Source
QueryExtensionAttribute(Sql.QueryExtensionScope, Type, String[])
Declaration
public QueryExtensionAttribute(Sql.QueryExtensionScope scope, Type extensionBuilderType, params string[] extensionArguments)
Parameters
|
Improve this Doc
View Source
QueryExtensionAttribute(Nullable<String>, Sql.QueryExtensionScope, Type)
Declaration
public QueryExtensionAttribute(string? configuration, Sql.QueryExtensionScope scope, Type extensionBuilderType)
Parameters
Type |
Name |
Description |
System.Nullable<System.String> |
configuration |
|
Sql.QueryExtensionScope |
scope |
|
Type |
extensionBuilderType |
|
|
Improve this Doc
View Source
QueryExtensionAttribute(Nullable<String>, Sql.QueryExtensionScope, Type, String)
Declaration
public QueryExtensionAttribute(string? configuration, Sql.QueryExtensionScope scope, Type extensionBuilderType, string extensionArgument)
Parameters
Type |
Name |
Description |
System.Nullable<System.String> |
configuration |
|
Sql.QueryExtensionScope |
scope |
|
Type |
extensionBuilderType |
|
System.String |
extensionArgument |
|
|
Improve this Doc
View Source
QueryExtensionAttribute(Nullable<String>, Sql.QueryExtensionScope, Type, String, String)
Declaration
public QueryExtensionAttribute(string? configuration, Sql.QueryExtensionScope scope, Type extensionBuilderType, string extensionArgument0, string extensionArgument1)
Parameters
Type |
Name |
Description |
System.Nullable<System.String> |
configuration |
|
Sql.QueryExtensionScope |
scope |
|
Type |
extensionBuilderType |
|
System.String |
extensionArgument0 |
|
System.String |
extensionArgument1 |
|
|
Improve this Doc
View Source
QueryExtensionAttribute(Nullable<String>, Sql.QueryExtensionScope, Type, String[])
Declaration
public QueryExtensionAttribute(string? configuration, Sql.QueryExtensionScope scope, Type extensionBuilderType, params string[] extensionArguments)
Parameters
Type |
Name |
Description |
System.Nullable<System.String> |
configuration |
|
Sql.QueryExtensionScope |
scope |
|
Type |
extensionBuilderType |
|
System.String[] |
extensionArguments |
|
Properties
|
Improve this Doc
View Source
Configuration
Declaration
public string? Configuration { get; }
Property Value
Type |
Description |
System.Nullable<System.String> |
|
|
Improve this Doc
View Source
ExtensionArguments
Declaration
public string[] ExtensionArguments { get; set; }
Property Value
Type |
Description |
System.String[] |
|
|
Improve this Doc
View Source
ExtensionBuilderType
Declaration
public Type? ExtensionBuilderType { get; set; }
Property Value
Type |
Description |
System.Nullable<Type> |
|
|
Improve this Doc
View Source
Scope
Declaration
public Sql.QueryExtensionScope Scope { get; }
Property Value
Methods
|
Improve this Doc
View Source
ExtendJoin(List<SqlQueryExtension>, List<SqlQueryExtensionData>)
Declaration
public virtual void ExtendJoin(List<SqlQueryExtension> extensions, List<SqlQueryExtensionData> parameters)
Parameters
|
Improve this Doc
View Source
ExtendQuery(List<SqlQueryExtension>, List<SqlQueryExtensionData>)
Declaration
public virtual void ExtendQuery(List<SqlQueryExtension> extensions, List<SqlQueryExtensionData> parameters)
Parameters
|
Improve this Doc
View Source
ExtendSubQuery(List<SqlQueryExtension>, List<SqlQueryExtensionData>)
Declaration
public virtual void ExtendSubQuery(List<SqlQueryExtension> extensions, List<SqlQueryExtensionData> parameters)
Parameters
|
Improve this Doc
View Source
ExtendTable(SqlTable, List<SqlQueryExtensionData>)
Declaration
public virtual void ExtendTable(SqlTable table, List<SqlQueryExtensionData> parameters)
Parameters
|
Improve this Doc
View Source
GetExtension(List<SqlQueryExtensionData>)
Declaration
public virtual SqlQueryExtension GetExtension(List<SqlQueryExtensionData> parameters)
Parameters
Returns
|
Improve this Doc
View Source
GetExtensionAttributes(Expression, MappingSchema)
Declaration
public static Sql.QueryExtensionAttribute[] GetExtensionAttributes(Expression expression, MappingSchema mapping)
Parameters
Type |
Name |
Description |
Expression |
expression |
|
MappingSchema |
mapping |
|
Returns
|
Improve this Doc
View Source
GetObjectID()
Declaration
public override string GetObjectID()
Returns
Type |
Description |
System.String |
|
Overrides
Extension Methods