Click or drag to resize

ModelExtensions Methods

The ModelExtensions type exposes the following members.

Methods
  NameDescription
Public methodStatic memberCode exampleDeepCopyT

Performs a Deep Copy of an object through serialization.

Read our blog on this topic: Revisiting Deep Copy in C#

Public methodStatic memberGetPropertyName(Expression)

Gets the property name from an Expression.

Read our blog on this topic: Effective Extensions, Part 3 – Extending Models in C#

Public methodStatic memberGetPropertyNameT(ExpressionFuncT)

Gets the property name from an Expression.

Read our blog on this topic: Effective Extensions, Part 3 – Extending Models in C#

Public methodStatic memberGetPropertyNameT(ExpressionFuncT, Boolean)

Gets the property name from an Expression.

Read our blog on this topic: Effective Extensions, Part 3 – Extending Models in C#

Public methodStatic memberGetPropertyNameT, TProperty(ExpressionFuncT, TProperty)

Gets the property name from an Expression.

Read our blog on this topic: Effective Extensions, Part 3 – Extending Models in C#

Public methodStatic memberGetPropertyNamesT

Gets multiple property names from a complex Expression.

Read our blog on this topic: Effective Extensions, Part 3 – Extending Models in C#

Public methodStatic memberCode exampleMapPropertiesT

Copies all public properties from one class to another.

Read our blog on this topic: Revisiting Deep Copy in C#

Top
See Also