C# Class AllReady.Extensions.ContextExtensions

Afficher le fichier Open project: HTBox/allReady

Méthodes publiques

Méthode Description
AddOrUpdate ( this ctx, object entity ) : void

Handles correctly attaching an object to the context for cases where it may be new or modified.

Method Details

AddOrUpdate() public static méthode

Handles correctly attaching an object to the context for cases where it may be new or modified.
public static AddOrUpdate ( this ctx, object entity ) : void
ctx this
entity object
Résultat void