C# Class DAL.BOTContext

Inheritance: DAL.DbContext
Afficher le fichier Open project: kulish-alina/HR_Project

Méthodes publiques

Méthode Description
BOTContext ( ) : System
BOTContext ( string connectionString ) : System
Delete ( ) : bool
SaveChanges ( ) : int

Méthodes protégées

Méthode Description
OnModelCreating ( DbModelBuilder modelBuilder ) : void

Private Methods

Méthode 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 méthode

public BOTContext ( ) : System
Résultat System

BOTContext() public méthode

public BOTContext ( string connectionString ) : System
connectionString string
Résultat System

Delete() public méthode

public Delete ( ) : bool
Résultat bool

OnModelCreating() protected méthode

protected OnModelCreating ( DbModelBuilder modelBuilder ) : void
modelBuilder DbModelBuilder
Résultat void

SaveChanges() public méthode

public SaveChanges ( ) : int
Résultat int