Interface IDatabaseAdapter
Namespace: Telerik.OpenAccess.SPI
Assembly: Telerik.OpenAccess.dll
Syntax
[ComVisible(false)]
public interface IDatabaseAdapter
Properties
AvoidQueryParameters
Declaration
bool AvoidQueryParameters { get; }
Property Value
|
System.Boolean
|
CommandTimeout
Declaration
int CommandTimeout { get; }
Property Value
|
System.Int32
|
ConnectionId
Declaration
string ConnectionId { get; }
Property Value
|
System.String
|
ConnectionTimeout
Declaration
long ConnectionTimeout { get; set; }
Property Value
|
System.Int64
|
ConnectionURL
Declaration
string ConnectionURL { get; }
Property Value
|
System.String
|
DefaultTransactionProperties
Declaration
ITransactionProperties DefaultTransactionProperties { get; }
Property Value
|
ITransactionProperties
|
IsOpened
Declaration
bool IsOpened { get; }
Property Value
|
System.Boolean
|
TransactionProvider
Declaration
TransactionProvider TransactionProvider { get; set; }
Property Value
|
TransactionProvider
|
Methods
CalculateFetchPlan(ICollection<FetchPlanFragment>)
Declaration
FetchPlan CalculateFetchPlan(ICollection<FetchPlanFragment> fragments)
Parameters
|
System.Collections.Generic.ICollection<FetchPlanFragment>
fragments
|
Returns
|
FetchPlan
|
Close(Boolean, String)
Declaration
void Close(bool rollbackTransactions, string reason)
Parameters
|
System.Boolean
rollbackTransactions
|
|
System.String
reason
|
DisposeScope(IObjectScope, Boolean)
Declaration
void DisposeScope(IObjectScope os, bool disposing)
Parameters
|
IObjectScope
os
|
|
System.Boolean
disposing
|
Evict(IObjectId)
Evict(ObjectKey)
EvictAll()
Declaration
void EvictAll()
EvictAll(IEnumerable<IObjectId>)
Declaration
void EvictAll(IEnumerable<IObjectId> oids)
Parameters
|
System.Collections.Generic.IEnumerable<IObjectId>
oids
|
EvictAll(IEnumerable<ObjectKey>)
Declaration
void EvictAll(IEnumerable<ObjectKey> objectKeys)
Parameters
|
System.Collections.Generic.IEnumerable<ObjectKey>
objectKeys
|
EvictAll(Type, Boolean)
Declaration
void EvictAll(Type type, bool includeSubclasses)
Parameters
|
System.Type
type
|
|
System.Boolean
includeSubclasses
|
GetBackendInformation()
Declaration
BackendConfiguration.BackendInformation GetBackendInformation()
Returns
|
BackendConfiguration.BackendInformation
|
GetClassId(Type)
Declaration
int GetClassId(Type t)
Parameters
|
System.Type
t
|
Returns
|
System.Int32
|
GetConfiguration(out PropertySet)
Declaration
Assembly[] GetConfiguration(out PropertySet props)
Parameters
|
PropertySet
props
|
Returns
|
System.Reflection.Assembly[]
|
GetEffectiveConnectionString()
Declaration
string GetEffectiveConnectionString()
Returns
|
System.String
|
GetEvents(Int32, Nullable<Int32>)
Declaration
DatabaseEventsCollection GetEvents(int fromIdExlusive, int? count)
Parameters
|
System.Int32
fromIdExlusive
|
|
System.Nullable<System.Int32>
count
|
Returns
|
DatabaseEventsCollection
|
GetEvents(Nullable<DateTime>, Nullable<DateTime>, Nullable<Int32>)
Declaration
DatabaseEventsCollection GetEvents(DateTime? fromExclusive, DateTime? toInclusive, int? count)
Parameters
|
System.Nullable<System.DateTime>
fromExclusive
|
|
System.Nullable<System.DateTime>
toInclusive
|
|
System.Nullable<System.Int32>
count
|
Returns
|
DatabaseEventsCollection
|
GetMetaData()
GetMetrics(Nullable<DateTime>, Nullable<DateTime>, Nullable<Int32>)
Declaration
DatabaseMetricsCollection GetMetrics(DateTime? from, DateTime? to, int? num)
Parameters
|
System.Nullable<System.DateTime>
from
|
|
System.Nullable<System.DateTime>
to
|
|
System.Nullable<System.Int32>
num
|
Returns
|
DatabaseMetricsCollection
|
GetObjectScope()
GetObjectScope(String, String)
Declaration
IObjectScope GetObjectScope(string username, string password)
Parameters
|
System.String
username
|
|
System.String
password
|
Returns
|
IObjectScope
|
GetObjectScope(String, String, TransactionProvider)
Declaration
IObjectScope GetObjectScope(string username, string password, TransactionProvider provider)
Parameters
|
System.String
username
|
|
System.String
password
|
|
TransactionProvider
provider
|
Returns
|
IObjectScope
|
GetObjectScope(TransactionProvider)
Declaration
IObjectScope GetObjectScope(TransactionProvider provider)
Parameters
|
TransactionProvider
provider
|
Returns
|
IObjectScope
|
GetSchemaAdapter(Object)
Declaration
ISchemaHandler GetSchemaAdapter(object lockObject)
Parameters
|
System.Object
lockObject
|
Returns
|
ISchemaHandler
|
IsCached(IObjectId)
IsCached(ObjectKey)
Declaration
bool IsCached(ObjectKey objectKey)
Parameters
|
ObjectKey
objectKey
|
Returns
|
System.Boolean
|
MakeBlob(IObjectScope, Int16)
Declaration
BlobAdapter MakeBlob(IObjectScope os, short flags)
Parameters
|
IObjectScope
os
|
|
System.Int16
flags
|
Returns
|
BlobAdapter
|
OpenScopesCount()
Declaration
int OpenScopesCount()
Returns
|
System.Int32
|
ReplaceMetadata(IObjectScope, MetadataContainer, SchemaUpdateCallback)
Declaration
bool ReplaceMetadata(IObjectScope scope, MetadataContainer newMetadata, SchemaUpdateCallback callback)
Parameters
|
IObjectScope
scope
|
|
MetadataContainer
newMetadata
|
|
SchemaUpdateCallback
callback
|
Returns
|
System.Boolean
|
ResetMetaData()
Declaration
void ResetMetaData()