public static 客戶清單Repository Get客戶清單Repository() { var repository = new 客戶清單Repository(); repository.UnitOfWork = GetUnitOfWork(); return(repository); }
public static 客戶清單Repository Get客戶清單Repository(IUnitOfWork unitOfWork) { var repository = new 客戶清單Repository(); repository.UnitOfWork = unitOfWork; return(repository); }
public 客戶資料Controller() { repo客戶清單 = RepositoryHelper.Get客戶清單Repository(repo客戶資料.UnitOfWork); repo客戶聯絡人 = RepositoryHelper.Get客戶聯絡人Repository(repo客戶資料.UnitOfWork); }
public static 客戶清單Repository Get客戶清單Repository(IUnitOfWork unitOfWork) { var repository = new 客戶清單Repository(); repository.UnitOfWork = unitOfWork; return repository; }
public static 客戶清單Repository Get客戶清單Repository() { var repository = new 客戶清單Repository(); repository.UnitOfWork = GetUnitOfWork(); return repository; }