Example #1
0
        public static SqlHelper Sql(string key)
        {
            var sqlHelper = IntrospectionManager.GetSqlHelperByKey(key);

            if (sqlHelper == null)
            {
                throw new SqlHelperCanNotExists(key);
            }
            else
            {
                return(sqlHelper);
            }
        }