IDbSpecificCreator Methods |
The IDbSpecificCreator type exposes the following members.
Name | Description | |
---|---|---|
ClampNameToLengthLimit |
Method which clamps the passed in string to F__hashcode of toClamp if the length of toClamp is too long and
this creator's useRestrictedLengthOnAliasesOfFields is set to true in the ctor (which is the case in DB2 and Oracle)
| |
ConvertComparisonOperator |
Converts the passed in comparison operator to a string usable in a query.
| |
ConvertExpressionOperator |
Converts the passed in expression operator (exop) to a string usable in a query
| |
ConvertExpressionToQueryFragment |
Converts the expression to a query fragment and adds the parameters created during this process to the passed in parametercollection
| |
ConvertParameterOutputValueToRealValueT |
Converts the parameter output value (contained in the parameter specified) to a real value. This is necessary for example if the value
of the parameter is a value of a type native to an ADO.NET provider, like OracleDecimal.
| |
ConvertSetOperator |
Converts the passed in set operator to a string usable in a query
| |
ConvertSortOperator |
Converts the passed in sort operator to a string usable in a query
| |
CreateCommand |
Creates a new command instance
| |
CreateCommand(DbConnection) |
Creates a new command instance
| |
CreateFieldName(IEntityFieldCore, IFieldPersistenceInfo, String, String, Boolean) |
Creates the name for the field, and takes into account an aggregate function present and an expression present. If one or both are present, the
field is replaced with (expression) or surrounded with (aggregate) the function (if applyAggregateFunction is true).
| |
CreateFieldName(IFieldPersistenceInfo, String, String, String, String) |
Creates a valid field name based on the passed in IFieldPersistenceInfo implementation. The fieldname is
ready to use in queries and contains all pre/postfix characters required. This field name is
not padded with an alias if that alias should be created. Effectively, this is the
same as CreateFieldName(field persistence info, fieldname, false);
| |
CreateFieldName(IFieldPersistenceInfo, String, String, Boolean, String, String) |
Creats a valid field name based on the passed in IFieldPersistenceInfo implementation. The fieldname is
ready to use in queries and contains all pre/postfix characters required.
| |
CreateFieldNameSimple(IFieldPersistenceInfo, String) |
Creates a valid field name based on the passed in IFieldPersistenceInfo implementation. The fieldname is
ready to use in queries and contains all pre/postfix characters required. This field name is
not padded with an alias if that alias should be created. Effectively, this is the
same as CreateFieldNameSimple(field persistence info, fieldname, false);. The fieldname is 'simple' in that
it doesn't contain any catalog, schema or table references.
| |
CreateFieldNameSimple(IFieldPersistenceInfo, String, Boolean) |
Creats a valid field name based on the passed in IFieldPersistenceInfo implementation. The fieldname is
ready to use in queries and contains all pre/postfix characters required. The fieldname is 'simple' in that
it doesn't contain any catalog, schema or table references.
| |
CreateLikeParameter |
Creates a valid Parameter for the pattern in a LIKE statement. This is a special case, because it shouldn't rely on the type of the
field the LIKE statement is used with but should be the unicode varchar type.
| |
CreateObjectName(IFieldPersistenceInfo) |
Creates a valid object name (e.g. a name for a table or view) based on the passed in IFieldPersistenceInfo implementation. The fieldname is
ready to use in queries and contains all pre/postfix characters required.
| |
CreateObjectName(String, String, String) |
Creates a valid object name (e.g. a name for a table or view) based on the fragments specified. The name is ready to use and contains
all alias wrappings required.
| |
CreateParameter(ParameterDirection, Object) |
Creates a parameter based on the direction passed in and the value passed in.
| |
CreateParameter(ParameterDirection, Object, String) |
Creates a parameter based on the direction passed in and the value passed in.
| |
CreateParameter(IEntityFieldCore, IFieldPersistenceInfo, ParameterDirection) |
Creates a valid Parameter based on the passed in IEntityFieldCore implementation and the passed in IFieldPersistenceInfo instance
| |
CreateParameter(IEntityFieldCore, IFieldPersistenceInfo, ParameterDirection, Object) |
Creates a valid Parameter based on the passed in IEntityFieldCore implementation and the passed in IFieldPersistenceInfo instance
| |
CreateParameter(String, Int32, ParameterDirection, Boolean, Byte, Byte, Object) |
Creates a new, filled parameter.
| |
CreatePlainSQLParameterName(Int32) |
Creates the name of a parameter based on the values specified, using the pattern: prefix + "p" + parameterNo. For plain sql queries.
| |
CreatePlainSQLParameterName(String) |
Creates the name of a parameter based on the values specified, using the pattern: prefix + nameWithoutPrefix. For plain sql queries.
| |
CreateSubQuery(IEntityFieldCore, IFieldPersistenceInfo, IPredicate, Int64, ISortExpression, IRelationCollection, IGroupByCollection) |
Creates a new Select Query which is ready to use as a subquery, based on the specified select list and the specified set of relations.
| |
CreateSubQuery(IEntityFieldCore, IFieldPersistenceInfo, IPredicate, Int64, ISortExpression, IRelationCollection, IGroupByCollection, Boolean) |
Creates a new Select Query which is ready to use as a subquery, based on the specified select list and the specified set of relations.
| |
CreateTemporalTablePredicate |
Creates the temporal table predicate fragment for the predicateType specified
| |
CreateTvfCallQuery |
Creates a retrieval query from the tvfcall specified. The query will be a 'SELECT ... FROM functioncall' query.
| |
CreateValidAlias |
Routine which creates a valid alias string for the plain alias passed in. For example, the alias will be surrounded by "[]" on sqlserver.
Used by the RelationCollection to produce a valid alias for joins.
| |
DetermineDbTypeNameForValue |
Determines the db type name (ADO.NET provider specific typename) for value.
| |
FindRealAlias(String, String, String) |
Finds the real alias for the entity + objectalias combination. A real alias is necessary as an entity mapped onto multiple tables (through inheritance)
is aliased with a single object alias but each target has to have a different real alias. Checks all scopes.
| |
FindRealAlias(String, String, String, Boolean) |
Finds the real alias for the entity + objectalias combination. A real alias is necessary as an entity mapped onto multiple tables (through inheritance)
is aliased with a single object alias but each target has to have a different real alias.
| |
GetNewPerCallCatalogName |
Gets the new catalog name from the per-call hashtable name overwrites set into this object. If no per call name pairs are defined or the
name passed in isn't found, the same name passed in is returned
| |
GetNewPerCallSchemaName |
Gets the new schema name from the per-call hashtable name overwrites set into this object. If no per call name pairs are defined or the
name passed in isn't found, the same name passed in is returned
| |
StripObjectNameChars |
Strips the object name chars from the name passed in. For example [name] will become name
| |
ToUpperFunctionName |
Returns the SQL functionname to make a string uppercase.
|