C# Class OzarkRecovery.Infrastructure.DataAccess.Impl.ClientRepository

Inheritance: IRepository
显示文件 Open project: ozarkrecovery/TracerBullet

Public Methods

Method Description
Add ( Client entity ) : void
Delete ( int id ) : void
FindByEntityId ( int id ) : Entity
FindByName ( string name ) : List
GetAll ( ) : List
Update ( Entity entity ) : void

Private Methods

Method Description
ClientRepository ( ORContext c ) : System

Method Details

Add() public method

public Add ( Client entity ) : void
entity OzarkRecovery.Core.Domain.Model.Client
return void

Delete() public method

public Delete ( int id ) : void
id int
return void

FindByEntityId() public method

public FindByEntityId ( int id ) : Entity
id int
return Entity

FindByName() public method

public FindByName ( string name ) : List
name string
return List

GetAll() public method

public GetAll ( ) : List
return List

Update() public method

public Update ( Entity entity ) : void
entity Entity
return void