Exemple #1
0
 /// <summary>
 /// Registers the scope.
 /// </summary>
 /// <param name="scope">The scope.</param>
 public void RegisterScope(ISessionScope scope)
 {
     if (scopeInfo == null)
     {
         throw new ActiveRecordException("A scope tried to registered itself within the framework, " +
                                         "but the Active Record was not initialized");
     }
     scopeInfo.RegisterScope(scope);
 }
 public void RegisterScope(ISessionScope scope)
 {
     scopeInfo.RegisterScope(scope);
 }