C# Class DAL.BOTContext

Inheritance: DAL.DbContext
Mostra file Open project: kulish-alina/HR_Project

Public Methods

Method Description
BOTContext ( ) : System
BOTContext ( string connectionString ) : System
Delete ( ) : bool
SaveChanges ( ) : int

Protected Methods

Method Description
OnModelCreating ( DbModelBuilder modelBuilder ) : void

Private Methods

Method Description
GetEntitySet ( Type type ) : System.Data.Entity.Core.Metadata.Edm.EntitySetBase
GetPrimaryKeyName ( Type type ) : string
GetTableName ( Type type ) : string
SoftDelete ( DbEntityEntry entry ) : void

Method Details

BOTContext() public method

public BOTContext ( ) : System
return System

BOTContext() public method

public BOTContext ( string connectionString ) : System
connectionString string
return System

Delete() public method

public Delete ( ) : bool
return bool

OnModelCreating() protected method

protected OnModelCreating ( DbModelBuilder modelBuilder ) : void
modelBuilder DbModelBuilder
return void

SaveChanges() public method

public SaveChanges ( ) : int
return int