Exemplo n.º 1
0
        /// <summary>
        /// Expand associated entity
        /// </summary>
        /// <param name="propertyName">Referencing attribute logical name</param>
        /// <param name="disableNameResolving">Disable navigation property name resolving</param>
        /// <param name="columns">Referenced entity attributes</param>
        public QueryOptions Expand(string propertyName, bool disableNameResolving, params string[] columns)
        {
            ExpandOptions.Add(new ExpandOptions(propertyName, disableNameResolving, columns));

            return(this);
        }
Exemplo n.º 2
0
        /// <summary>
        /// Expand associated entity
        /// </summary>
        /// <param name="propertyName">Referencing attribute logical name</param>
        /// <param name="columns">Referenced entity attributes</param>
        public QueryOptions Expand(string propertyName, params string[] columns)
        {
            ExpandOptions.Add(new ExpandOptions(propertyName, columns));

            return(this);
        }