Пример #1
0
 public PathNodeProcessor( EntityDrive drive )
 {
     _drive = drive;
 }
 public static IDisposable CreateSession(EntityDrive drive)
 {
     return(new UnitOfWorkSession(drive));
 }
 public UnitOfWorkSession(EntityDrive drive)
 {
     _drive = drive;
     drive.StartNewUnitOfWork();
 }
Пример #4
0
 public RootNodeFactory(EntityDrive drive)
 {
     _drive = drive;
 }
 public UnitOfWorkSession( EntityDrive drive )
 {
     _drive = drive;
     drive.StartNewUnitOfWork();
 }
 public static IDisposable CreateSession(EntityDrive drive)
 {
     return new UnitOfWorkSession( drive );
 }