Click or drag to resize

ExtensionMethodsWasLoadedTSource, TReturn Method (TSource, ExpressionFuncTSource, TReturn)

Returns true if the property is loaded

Namespace:  SanteDB.Core.Model
Assembly:  SanteDB.Core.Model (in SanteDB.Core.Model.dll) Version: 2.2.1
Syntax
public static bool WasLoaded<TSource, TReturn>(
	this TSource me,
	Expression<Func<TSource, TReturn>> propertySelector
)
where TSource : IIdentifiedEntity

Parameters

me
Type: TSource

[Missing <param name="me"/> documentation for "M:SanteDB.Core.Model.ExtensionMethods.WasLoaded``2(``0,System.Linq.Expressions.Expression{System.Func{``0,``1}})"]

propertySelector
Type: System.Linq.ExpressionsExpressionFuncTSource, TReturn

[Missing <param name="propertySelector"/> documentation for "M:SanteDB.Core.Model.ExtensionMethods.WasLoaded``2(``0,System.Linq.Expressions.Expression{System.Func{``0,``1}})"]

Type Parameters

TSource

[Missing <typeparam name="TSource"/> documentation for "M:SanteDB.Core.Model.ExtensionMethods.WasLoaded``2(``0,System.Linq.Expressions.Expression{System.Func{``0,``1}})"]

TReturn

[Missing <typeparam name="TReturn"/> documentation for "M:SanteDB.Core.Model.ExtensionMethods.WasLoaded``2(``0,System.Linq.Expressions.Expression{System.Func{``0,``1}})"]

Return Value

Type: Boolean

[Missing <returns> documentation for "M:SanteDB.Core.Model.ExtensionMethods.WasLoaded``2(``0,System.Linq.Expressions.Expression{System.Func{``0,``1}})"]

Usage Note

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