예제 #1
0
        private SQL_Properties GetSqlProperties()
        {
            string         jsonFilePath   = Path.Combine(AppHelper.GetJsonDirectoryPath(), JsonFile.SQL_JSON);
            string         Json           = System.IO.File.ReadAllText(jsonFilePath);
            SQL_Properties sql_Properties = JsonConvert.DeserializeObject <SQL_Properties>(Json);

            return(sql_Properties);
        }
예제 #2
0
 public SqlConnector()
 {
     _sqlProperties = GetSqlProperties();
 }