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