Exemple #1
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="storage"></param>
 public static void InitStorage(IEfContextStorage storage)
 {
     if (storage == null)
     {
         throw new ArgumentNullException("storage", @"storage mechanism was null but must be provided");
     }
     Storage = storage;
 }
Exemple #2
0
 /// <summary>
 /// 
 /// </summary>
 /// <param name="storage"></param>
 public static void InitStorage(IEfContextStorage storage)
 {
     if (storage == null)
     {
         throw new ArgumentNullException("storage", @"storage mechanism was null but must be provided");
     }
     Storage = storage;
 }