C# Class SharpArch.Web.Mvc.ModelBinder.GenericRepositoryFactory

Mostrar archivo Open project: sharparchitecture/Sharp-Architecture Class Usage Examples

Public Methods

Method Description
CreateEntityRepositoryFor ( [ entityType, [ idType ) : object

Resolve repository for given entity type.

Method Details

CreateEntityRepositoryFor() public static method

Resolve repository for given entity type.
If repository can not be resolved by .
public static CreateEntityRepositoryFor ( [ entityType, [ idType ) : object
entityType [ Type of the entity.
idType [ Type of the identifier.
return object