Click or drag to resize

ExtensionMethodsLoadPropertyTReturn(IAnnotatedResource, String, Boolean, IEnumerableIdentifiedData) Method

Delay load property

Namespace: SanteDB
Assembly: SanteDB.Core.Model (in SanteDB.Core.Model.dll) Version: 3.0.2081-alpha+0a330d5f5a5d3cb3e6e945ef530e94ac5671b49c
Syntax
public static TReturn LoadProperty<TReturn>(
	this IAnnotatedResource me,
	string propertyName,
	bool forceReload = false,
	IEnumerable<IdentifiedData> referenceData = null
)

Parameters

me  IAnnotatedResource

[Missing <param name="me"/> documentation for "M:SanteDB.ExtensionMethods.LoadProperty``1(SanteDB.Core.Model.Interfaces.IAnnotatedResource,System.String,System.Boolean,System.Collections.Generic.IEnumerable{SanteDB.Core.Model.IdentifiedData})"]

propertyName  String

[Missing <param name="propertyName"/> documentation for "M:SanteDB.ExtensionMethods.LoadProperty``1(SanteDB.Core.Model.Interfaces.IAnnotatedResource,System.String,System.Boolean,System.Collections.Generic.IEnumerable{SanteDB.Core.Model.IdentifiedData})"]

forceReload  Boolean  (Optional)

[Missing <param name="forceReload"/> documentation for "M:SanteDB.ExtensionMethods.LoadProperty``1(SanteDB.Core.Model.Interfaces.IAnnotatedResource,System.String,System.Boolean,System.Collections.Generic.IEnumerable{SanteDB.Core.Model.IdentifiedData})"]

referenceData  IEnumerableIdentifiedData  (Optional)

[Missing <param name="referenceData"/> documentation for "M:SanteDB.ExtensionMethods.LoadProperty``1(SanteDB.Core.Model.Interfaces.IAnnotatedResource,System.String,System.Boolean,System.Collections.Generic.IEnumerable{SanteDB.Core.Model.IdentifiedData})"]

Type Parameters

TReturn

[Missing <typeparam name="TReturn"/> documentation for "M:SanteDB.ExtensionMethods.LoadProperty``1(SanteDB.Core.Model.Interfaces.IAnnotatedResource,System.String,System.Boolean,System.Collections.Generic.IEnumerable{SanteDB.Core.Model.IdentifiedData})"]

Return Value

TReturn

[Missing <returns> documentation for "M:SanteDB.ExtensionMethods.LoadProperty``1(SanteDB.Core.Model.Interfaces.IAnnotatedResource,System.String,System.Boolean,System.Collections.Generic.IEnumerable{SanteDB.Core.Model.IdentifiedData})"]

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IAnnotatedResource. 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