C# Class NSoft.NFramework.Data.AdoRepositoryFactory

Factory for IAdoRepository
Inheritance: IAdoRepositoryFactory
Mostrar archivo Open project: debop/NFramework

Public Methods

Method Description
ClearRepositoryCache ( ) : void

Repository Cache를 제거합니다.

CreateRepository ( string dbName = null ) : IAdoRepository

Create Repository for ADO.NET using specified dbName

CreateRepositoryByProvider ( string dbName = null ) : IAdoRepository

Private Methods

Method Description
GetAdoRepositoryFactoryFunction ( string dbName ) : IAdoRepository>.Func

지정된 DB Name의 Provider에 따라, IAdoRepository 인스턴스 생성 함수를 다르게 합니다. SQL Server인 경우, 자동으로 SqlRepositoryImpl을 사용하게 하여, 확장을 보장받을 수 있게 하였습니다.

Method Details

ClearRepositoryCache() public method

Repository Cache를 제거합니다.
public ClearRepositoryCache ( ) : void
return void

CreateRepository() public method

Create Repository for ADO.NET using specified dbName
public CreateRepository ( string dbName = null ) : IAdoRepository
dbName string database name
return IAdoRepository

CreateRepositoryByProvider() public method

public CreateRepositoryByProvider ( string dbName = null ) : IAdoRepository
dbName string
return IAdoRepository