Class DatabaseParameterFactory
Inheritance
System.Object
DatabaseParameterFactory
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: FChoice.Foundation.Clarify
Assembly: fcSDK.dll
Syntax
public class DatabaseParameterFactory
Constructors
DatabaseParameterFactory(DbProvider)
Declaration
public DatabaseParameterFactory(DbProvider dbProvider)
Parameters
Type | Name | Description |
---|---|---|
DbProvider | dbProvider |
DatabaseParameterFactory(ISchemaCache, DbProvider)
Declaration
public DatabaseParameterFactory(ISchemaCache schemaCache, DbProvider dbProvider)
Parameters
Type | Name | Description |
---|---|---|
ISchemaCache | schemaCache | |
DbProvider | dbProvider |
Fields
EnableSettingStringParameterTypeAndSize
Declaration
public const string EnableSettingStringParameterTypeAndSize = "fchoice.setstringparameterdbtypeandsize"
Field Value
Type | Description |
---|---|
System.String |
Methods
ConfigureStringDatabaseParameter(IDbDataParameter, ISchemaCache, DbProvider, ISchemaField)
Declaration
public static void ConfigureStringDatabaseParameter(IDbDataParameter databaseParameter, ISchemaCache schemaCache, DbProvider dbProvider, ISchemaField schemaField)
Parameters
Type | Name | Description |
---|---|---|
System.Data.IDbDataParameter | databaseParameter | |
ISchemaCache | schemaCache | |
DbProvider | dbProvider | |
ISchemaField | schemaField |
Create(String, ISchemaField, Object)
Declaration
public IDbDataParameter Create(string paramName, ISchemaField schemaField, object paramValue)
Parameters
Type | Name | Description |
---|---|---|
System.String | paramName | |
ISchemaField | schemaField | |
System.Object | paramValue |
Returns
Type | Description |
---|---|
System.Data.IDbDataParameter |
Create(String, String, String, Object)
Declaration
public IDbDataParameter Create(string paramName, string tableName, string fieldName, object paramValue)
Parameters
Type | Name | Description |
---|---|---|
System.String | paramName | |
System.String | tableName | |
System.String | fieldName | |
System.Object | paramValue |
Returns
Type | Description |
---|---|
System.Data.IDbDataParameter |
ShouldStringParameterTypeAndSizeBeSet()
Declaration
public virtual bool ShouldStringParameterTypeAndSizeBeSet()
Returns
Type | Description |
---|---|
System.Boolean |