Click or drag to resize

ExtensionMethodsLoadPropertyTReturn Method (IIdentifiedEntity, String, Boolean)

Delay load property

Namespace:  SanteDB.Core.Model
Assembly:  SanteDB.Core.Model (in SanteDB.Core.Model.dll) Version: 2.2.1
Syntax
public static TReturn LoadProperty<TReturn>(
	this IIdentifiedEntity me,
	string propertyName,
	bool forceReload = false
)

Parameters

me
Type: SanteDB.Core.Model.InterfacesIIdentifiedEntity

[Missing <param name="me"/> documentation for "M:SanteDB.Core.Model.ExtensionMethods.LoadProperty``1(SanteDB.Core.Model.Interfaces.IIdentifiedEntity,System.String,System.Boolean)"]

propertyName
Type: SystemString

[Missing <param name="propertyName"/> documentation for "M:SanteDB.Core.Model.ExtensionMethods.LoadProperty``1(SanteDB.Core.Model.Interfaces.IIdentifiedEntity,System.String,System.Boolean)"]

forceReload (Optional)
Type: SystemBoolean

[Missing <param name="forceReload"/> documentation for "M:SanteDB.Core.Model.ExtensionMethods.LoadProperty``1(SanteDB.Core.Model.Interfaces.IIdentifiedEntity,System.String,System.Boolean)"]

Type Parameters

TReturn

[Missing <typeparam name="TReturn"/> documentation for "M:SanteDB.Core.Model.ExtensionMethods.LoadProperty``1(SanteDB.Core.Model.Interfaces.IIdentifiedEntity,System.String,System.Boolean)"]

Return Value

Type: TReturn

[Missing <returns> documentation for "M:SanteDB.Core.Model.ExtensionMethods.LoadProperty``1(SanteDB.Core.Model.Interfaces.IIdentifiedEntity,System.String,System.Boolean)"]

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IIdentifiedEntity. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also