コード例 #1
0
 /// <summary>
 /// customer search
 /// </summary>
 public static IList <HomeSearch> SearchHome(long id)
 {
     using (QueryContext query = new QueryContext())
     {
         CommandParameterCollection parameters = new CommandParameterCollection();
         parameters.AddValue("id", id, DbType.Int64);
         return(query.ExecuteList <HomeSearch>("public.usp_2018_customers_search", CommandType.StoredProcedure, parameters));
     }
 }