Class DBStack
Erweitert den Basis Infostack um weitere Funktionalität, die im Zusammenhang mit Datenbank Info Objekten stehen
Inherited Members
Namespace: Simplic.Framework.DAL.ORM.DB
Assembly: Simplic.Framework.DAL.dll
Syntax
public abstract class DBStack : ORMInfoStackBase
Constructors
| Improve this Doc View SourceDBStack()
Declaration
public DBStack()
Properties
| Improve this Doc View SourceDefaultConnectionStringName
Wird für alle Verbindungsversuche verwendet, bei denen nicht explizit ein abweichender Connectionstring angegeben wurde
Declaration
public string DefaultConnectionStringName { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Methods
| Improve this Doc View SourceAddReferenceObject(ORMInfoBase, String, String, String, Dictionary<String, Object>)
Fügt der Liste von möglichen Referenzobjekten ein weiteres Objekt hinzu
Declaration
public void AddReferenceObject(ORMInfoBase info, string tableName, string tableOwner, string connectionString, Dictionary<string, object> pk)
Parameters
| Type | Name | Description |
|---|---|---|
| ORMInfoBase | info | |
| System.String | tableName | |
| System.String | tableOwner | |
| System.String | connectionString | |
| Dictionary<System.String, System.Object> | pk |
DoWork()
Declaration
public override void DoWork()
Overrides
| Improve this Doc View SourceTryGetObjectReference(String, String, String, Dictionary<String, Object>, out ORMInfoBase)
Versucht eine bereits vorhandene Objectreferenz zu finden
Declaration
public bool TryGetObjectReference(string tableName, string tableOwner, string connectionString, Dictionary<string, object> pk, out ORMInfoBase info)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | tableName | Tabellenname |
| System.String | tableOwner | Tabellenbesitzer |
| System.String | connectionString | |
| Dictionary<System.String, System.Object> | pk | |
| ORMInfoBase | info |
Returns
| Type | Description |
|---|---|
| System.Boolean |