EntityQueryBuilder
Namespace: TagBites.DB.Entity
Assembly: TagBites.DB.dll
Product: TagBites.DB v. 1.0.37
public static class EntityQueryBuilderInheritance: object → EntityQueryBuilder
Methods
Section titled “Methods”CreateDeleteByKeyQuery<T>(IList)
Section titled “CreateDeleteByKeyQuery<T>(IList)”public static SqlQueryDelete CreateDeleteByKeyQuery(IList recordsKeys)Parameters
Section titled “Parameters”recordsKeysIList
Returns
Section titled “Returns”CreateDeleteByKeyQuery(Type, IList)
Section titled “CreateDeleteByKeyQuery(Type, IList)”public static SqlQueryDelete CreateDeleteByKeyQuery(Type modelType, IList recordsKeys)Parameters
Section titled “Parameters”Returns
Section titled “Returns”CreateDeleteQuery<T>(IList<T>)
Section titled “CreateDeleteQuery<T>(IList<T>)”public static SqlQueryDelete CreateDeleteQuery(IList<T> models)Parameters
Section titled “Parameters”modelsIList<T>
Returns
Section titled “Returns”CreateDeleteQuery(Type, IList)
Section titled “CreateDeleteQuery(Type, IList)”public static SqlQueryDelete CreateDeleteQuery(Type entityType, IList models)Parameters
Section titled “Parameters”Returns
Section titled “Returns”CreateInsertQuery<T>(IList<T>)
Section titled “CreateInsertQuery<T>(IList<T>)”public static SqlQueryInsertValues CreateInsertQuery(IList<T> entities)Parameters
Section titled “Parameters”entitiesIList<T>
Returns
Section titled “Returns”CreateInsertQuery<T>(IList<T>, IList<string>, bool, bool)
Section titled “CreateInsertQuery<T>(IList<T>, IList<string>, bool, bool)”public static SqlQueryInsertValues CreateInsertQuery(IList<T> entities, IList<string> properties, bool excludeProperties, bool withReturning)Parameters
Section titled “Parameters”Returns
Section titled “Returns”CreateInsertQuery(Type, IEnumerable)
Section titled “CreateInsertQuery(Type, IEnumerable)”public static SqlQueryInsertValues CreateInsertQuery(Type entityType, IEnumerable entities)Parameters
Section titled “Parameters”entityTypeTypeentitiesIEnumerable
Returns
Section titled “Returns”CreateInsertQuery(Type, IEnumerable, IList<string>, bool, bool)
Section titled “CreateInsertQuery(Type, IEnumerable, IList<string>, bool, bool)”public static SqlQueryInsertValues CreateInsertQuery(Type entityType, IEnumerable entities, IList<string> properties, bool excludeProperties, bool withReturning)Parameters
Section titled “Parameters”entityTypeTypeentitiesIEnumerablepropertiesIList<string>excludePropertiesboolwithReturningbool
Returns
Section titled “Returns”CreateSelectQuery<T>()
Section titled “CreateSelectQuery<T>()”public static SqlQuerySelect CreateSelectQuery()Returns
Section titled “Returns”CreateSelectQuery<T>(IList<string>, bool)
Section titled “CreateSelectQuery<T>(IList<string>, bool)”public static SqlQuerySelect CreateSelectQuery(IList<string> properties, bool excludeProperties)Parameters
Section titled “Parameters”Returns
Section titled “Returns”CreateSelectQuery<T>(IList)
Section titled “CreateSelectQuery<T>(IList)”public static SqlQuerySelect CreateSelectQuery(IList recordsKeys)Parameters
Section titled “Parameters”recordsKeysIList
Returns
Section titled “Returns”CreateSelectQuery<T>(IList, IList<string>, bool)
Section titled “CreateSelectQuery<T>(IList, IList<string>, bool)”public static SqlQuerySelect CreateSelectQuery(IList recordsKeys, IList<string> properties, bool excludeProperties)Parameters
Section titled “Parameters”Returns
Section titled “Returns”CreateSelectQuery(Type)
Section titled “CreateSelectQuery(Type)”public static SqlQuerySelect CreateSelectQuery(Type entityType)Parameters
Section titled “Parameters”entityTypeType
Returns
Section titled “Returns”CreateSelectQuery(Type, IList<string>, bool)
Section titled “CreateSelectQuery(Type, IList<string>, bool)”public static SqlQuerySelect CreateSelectQuery(Type entityType, IList<string> properties, bool excludeProperties)Parameters
Section titled “Parameters”Returns
Section titled “Returns”CreateSelectQuery(Type, IList)
Section titled “CreateSelectQuery(Type, IList)”public static SqlQuerySelect CreateSelectQuery(Type entityType, IList recordsKeys)Parameters
Section titled “Parameters”Returns
Section titled “Returns”CreateSelectQuery(Type, IList, IList<string>, bool)
Section titled “CreateSelectQuery(Type, IList, IList<string>, bool)”public static SqlQuerySelect CreateSelectQuery(Type entityType, IList recordsKeys, IList<string> properties, bool excludeProperties)Parameters
Section titled “Parameters”Returns
Section titled “Returns”CreateUpdateQuery<T>(IList<T>)
Section titled “CreateUpdateQuery<T>(IList<T>)”public static SqlQueryUpdate CreateUpdateQuery(IList<T> entities)Parameters
Section titled “Parameters”entitiesIList<T>
Returns
Section titled “Returns”CreateUpdateQuery<T>(IList<T>, IList<string>, bool, bool)
Section titled “CreateUpdateQuery<T>(IList<T>, IList<string>, bool, bool)”public static SqlQueryUpdate CreateUpdateQuery(IList<T> entities, IList<string> properties, bool excludeProperties, bool withReturning)Parameters
Section titled “Parameters”Returns
Section titled “Returns”CreateUpdateQuery(Type, IEnumerable)
Section titled “CreateUpdateQuery(Type, IEnumerable)”public static SqlQueryUpdate CreateUpdateQuery(Type entityType, IEnumerable entities)Parameters
Section titled “Parameters”entityTypeTypeentitiesIEnumerable
Returns
Section titled “Returns”CreateUpdateQuery(Type, IEnumerable, IList<string>, bool, bool)
Section titled “CreateUpdateQuery(Type, IEnumerable, IList<string>, bool, bool)”public static SqlQueryUpdate CreateUpdateQuery(Type entityType, IEnumerable entities, IList<string> properties, bool excludeProperties, bool withReturning)Parameters
Section titled “Parameters”entityTypeTypeentitiesIEnumerablepropertiesIList<string>excludePropertiesboolwithReturningbool
Returns
Section titled “Returns”CreateUpsertQuery<T>(IList<T>, DbUpsertMode)
Section titled “CreateUpsertQuery<T>(IList<T>, DbUpsertMode)”public static SqlQuerySelect CreateUpsertQuery(IList<T> entities, DbUpsertMode mode)Parameters
Section titled “Parameters”entitiesIList<T>modeDbUpsertMode
Returns
Section titled “Returns”CreateUpsertQuery<T>(IList<T>, DbUpsertMode, IList<string>, bool, bool)
Section titled “CreateUpsertQuery<T>(IList<T>, DbUpsertMode, IList<string>, bool, bool)”public static SqlQuerySelect CreateUpsertQuery(IList<T> entities, DbUpsertMode mode, IList<string> properties, bool excludeProperties, bool withReturning)Parameters
Section titled “Parameters”entitiesIList<T>modeDbUpsertModepropertiesIList<string>excludePropertiesboolwithReturningbool
Returns
Section titled “Returns”CreateUpsertQuery(Type, IEnumerable, DbUpsertMode)
Section titled “CreateUpsertQuery(Type, IEnumerable, DbUpsertMode)”public static SqlQuerySelect CreateUpsertQuery(Type entityType, IEnumerable entities, DbUpsertMode mode)Parameters
Section titled “Parameters”entityTypeTypeentitiesIEnumerablemodeDbUpsertMode
Returns
Section titled “Returns”CreateUpsertQuery(Type, IEnumerable, DbUpsertMode, IList<string>, bool, bool)
Section titled “CreateUpsertQuery(Type, IEnumerable, DbUpsertMode, IList<string>, bool, bool)”public static SqlQuerySelect CreateUpsertQuery(Type entityType, IEnumerable entities, DbUpsertMode mode, IList<string> properties, bool excludeProperties, bool withReturning)Parameters
Section titled “Parameters”entityTypeTypeentitiesIEnumerablemodeDbUpsertModepropertiesIList<string>excludePropertiesboolwithReturningbool
Returns
Section titled “Returns”CreateValuesQuery<T>(IList<T>)
Section titled “CreateValuesQuery<T>(IList<T>)”public static SqlQueryValues CreateValuesQuery(IList<T> entities)Parameters
Section titled “Parameters”entitiesIList<T>
Returns
Section titled “Returns”CreateValuesQuery<T>(IList<T>, IList<string>, bool)
Section titled “CreateValuesQuery<T>(IList<T>, IList<string>, bool)”public static SqlQueryValues CreateValuesQuery(IList<T> entities, IList<string> properties, bool excludeProperties)Parameters
Section titled “Parameters”Returns
Section titled “Returns”CreateValuesQuery(Type, IEnumerable)
Section titled “CreateValuesQuery(Type, IEnumerable)”public static SqlQueryValues CreateValuesQuery(Type entityType, IEnumerable entities)Parameters
Section titled “Parameters”entityTypeTypeentitiesIEnumerable
Returns
Section titled “Returns”CreateValuesQuery(Type, IEnumerable, IList<string>, bool)
Section titled “CreateValuesQuery(Type, IEnumerable, IList<string>, bool)”public static SqlQueryValues CreateValuesQuery(Type entityType, IEnumerable entities, IList<string> properties, bool excludeProperties)Parameters
Section titled “Parameters”entityTypeTypeentitiesIEnumerablepropertiesIList<string>excludePropertiesbool