Esempio n. 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;
 }
Esempio n. 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;
 }