C# Class RibbitMvc.Data.Context

Inheritance: IContext
Datei anzeigen Open project: dato1357/Social-Network

Public Methods

Method Description
Context ( DbContext context = null, IUserRepository users = null, IRibbitRepository ribbits = null, IUserProfileRepository profiles = null ) : System
Dispose ( ) : void
SaveChanges ( ) : int

Method Details

Context() public method

public Context ( DbContext context = null, IUserRepository users = null, IRibbitRepository ribbits = null, IUserProfileRepository profiles = null ) : System
context DbContext
users IUserRepository
ribbits IRibbitRepository
profiles IUserProfileRepository
return System

Dispose() public method

public Dispose ( ) : void
return void

SaveChanges() public method

public SaveChanges ( ) : int
return int