C# Class Kooboo.CMS.Sites.Persistence.EntityFramework.CustomErrorsProvider.CustomErrorProvider

Inheritance: ICustomErrorProvider, ISiteImportExportStartup
Afficher le fichier Open project: Tsingbo-Kooboo/KoobooMvc5

Méthodes publiques

Méthode Description
Add ( Models item ) : void
All ( ) : IEnumerable
All ( Models site ) : IEnumerable
CustomErrorProvider ( SiteDBContext dbContext ) : System
Export ( Kooboo.CMS.Sites.Models.Site site, IEnumerable customErrors, System outputStream ) : void
ExportToDisk ( Kooboo.CMS.Sites.Models.Site site ) : void
Get ( Models dummy ) : Models.CustomError
Import ( Site site, System zipStream, bool @override ) : void
ImportToDatabase ( Site site, bool @override ) : void
InitializeToDB ( Site site ) : void
Remove ( Models item ) : void
Update ( Models item, Models oldItem ) : void

Private Methods

Méthode Description
UpdateOrAdd ( Models item, Models oldItem ) : void

Method Details

Add() public méthode

public Add ( Models item ) : void
item Models
Résultat void

All() public méthode

public All ( ) : IEnumerable
Résultat IEnumerable

All() public méthode

public All ( Models site ) : IEnumerable
site Models
Résultat IEnumerable

CustomErrorProvider() public méthode

public CustomErrorProvider ( SiteDBContext dbContext ) : System
dbContext SiteDBContext
Résultat System

Export() public méthode

public Export ( Kooboo.CMS.Sites.Models.Site site, IEnumerable customErrors, System outputStream ) : void
site Kooboo.CMS.Sites.Models.Site
customErrors IEnumerable
outputStream System
Résultat void

ExportToDisk() public méthode

public ExportToDisk ( Kooboo.CMS.Sites.Models.Site site ) : void
site Kooboo.CMS.Sites.Models.Site
Résultat void

Get() public méthode

public Get ( Models dummy ) : Models.CustomError
dummy Models
Résultat Models.CustomError

Import() public méthode

public Import ( Site site, System zipStream, bool @override ) : void
site Site
zipStream System
@override bool
Résultat void

ImportToDatabase() public méthode

public ImportToDatabase ( Site site, bool @override ) : void
site Site
@override bool
Résultat void

InitializeToDB() public méthode

public InitializeToDB ( Site site ) : void
site Site
Résultat void

Remove() public méthode

public Remove ( Models item ) : void
item Models
Résultat void

Update() public méthode

public Update ( Models item, Models oldItem ) : void
item Models
oldItem Models
Résultat void