コード例 #1
0
 /// <summary>
 /// For using Stored Procedures throw UnitOfWork
 /// </summary>
 /// <typeparam name="T"></typeparam>
 /// <param name="sql"></param>
 /// <param name="parameters"></param>
 /// <returns></returns>
 public IEnumerable <T> SQLQuery <T>(string sql, params object[] parameters)
 {
     return(context.ExecuteStoredProcedure <T>(sql, parameters));
 }