C# Class Models.Utilities.EntityFrameworkExtensions

Afficher le fichier Open project: xby2/regular-expression-contest-website

Méthodes publiques

Méthode Description
ArePropertiesEqual ( this left, object right, List ignoreProperties = null ) : bool

Return true if left and right have the same properties and same values for those properties. (Ignoring any properties named in ignoreProperties)

CopyProperties ( this dest, object src, List foreignKeys = null, List ignoreEfModels = null ) : void

Copies the values of the properties of src to dest. Some logic is used to ignore certain fields.

Method Details

ArePropertiesEqual() public static méthode

Return true if left and right have the same properties and same values for those properties. (Ignoring any properties named in ignoreProperties)
public static ArePropertiesEqual ( this left, object right, List ignoreProperties = null ) : bool
left this
right object
ignoreProperties List Variable names of the parameters to ignore in the check
Résultat bool

CopyProperties() public static méthode

Copies the values of the properties of src to dest. Some logic is used to ignore certain fields.
public static CopyProperties ( this dest, object src, List foreignKeys = null, List ignoreEfModels = null ) : void
dest this
src object
foreignKeys List
ignoreEfModels List
Résultat void