public DataServiceQuery <TElement> Expand(string path) { Util.CheckArgumentNull(path, "path"); Util.CheckArgumentNotEmpty(path, "path"); MethodInfo mi = typeof(DataServiceQuery <TElement>).GetMethod("Expand"); return((DataServiceQuery <TElement>) this.Provider.CreateQuery <TElement>( Expression.Call( Expression.Convert(this.Expression, typeof(DataServiceQuery <TElement> .DataServiceOrderedQuery)), mi, new Expression[] { Expression.Constant(path) }))); }
public OpenObjectAttribute(string openObjectPropertyName) { Util.CheckArgumentNotEmpty(openObjectPropertyName, "openObjectPropertyName"); this.openObjectPropertyName = openObjectPropertyName; }