/// <summary> /// Delay load property /// </summary> public static IEnumerable <TReturn> LoadCollection <TReturn>(this IdentifiedData me, string propertyName) { return(me.LoadProperty(propertyName) as IEnumerable <TReturn>); }
/// <summary> /// Delay load property /// </summary> public static TReturn LoadProperty <TReturn>(this IdentifiedData me, string propertyName) { return((TReturn)me.LoadProperty(propertyName)); }