/// <summary> /// Connect to DB /// </summary> /// <param name="connString">Connection string</param> public OracleMapper(string connString) { Database = new OracleDatabase(); Database.Connect(connString); }
/// <summary> /// Connect to DB /// </summary> /// <param name="connString">Connection string</param> /// <param name="owner">Schema owner</param> public OracleMapper(string connString, string owner) { Database = new OracleDatabase(); Owner = owner; Database.Connect(connString); }
/// <summary> /// Connect to session based DB /// </summary> public OracleMapper() { Database = new OracleDatabase(); Database.Connect(SessionProvider.Instance.ConnectionString); Owner = SessionProvider.Instance.Username.ToUpper(); }