Beispiel #1
0
 public static PostgreSqlInsert GetInstance(ConnectionPostgreSql pConnectionPostgreSql)
 {
     if (_instance is null)
     {
         _instance = new PostgreSqlInsert(pConnectionPostgreSql);
     }
     return(_instance);
 }
Beispiel #2
0
 public static PostgreSqlUpdate GetInstance(ConnectionPostgreSql pConnection = null)
 {
     if (_instance is null)
     {
         _instance = new PostgreSqlUpdate(pConnection);
     }
     return(_instance);
 }
Beispiel #3
0
 private PostgreSqlUpdate(ConnectionPostgreSql pConnection = null)
 {
     if (pConnection is null)
     {
         this._oConnection = new ConnectionPostgreSql();
     }
     else
     {
         this._oConnection = pConnection;
     }
 }
Beispiel #4
0
        private PostgreSqlSelect(ConnectionPostgreSql pConnection = null)
        {
            if (pConnection is null)
            {
                this._oConnection = new ConnectionPostgreSql();
            }
            else
            {
                this._oConnection = pConnection;
            }

            this.SetPaths();
        }
Beispiel #5
0
        private PostgreSqlSelect(ConnectionPostgreSql pConnection = null)
        {
            if (pConnection is null)
            {
                this._oConnection = new ConnectionPostgreSql();
            }
            else
            {
                this._oConnection = pConnection;
            }

            var file = Utils.UtilsStreamReaders.GetInstance().ReadStreamFile(this.GetSelectPath());

            Utils.UtilsJSON.GetInstance().DeserializeFromString(out _oPaths, file);
        }
Beispiel #6
0
 private PostgreSqlInsert(ConnectionPostgreSql pConnectionPostgreSql)
 {
     this.oConnectionPostgreSql = pConnectionPostgreSql;
     this.SetPaths();
 }
Beispiel #7
0
 private void SetConnection(out ConnectionPostgreSql pConnection)
 {
     pConnection = new ConnectionPostgreSql();
 }