/// <summary> /// Create a new VarInfo for a structured type Var /// </summary> /// <param name="v">The structured type Var</param> /// <param name="newType">"Mapped" type for v</param> /// <param name="newVars">List of vars corresponding to v</param> /// <param name="newProperties">Flattened Properties </param> /// <param name="newVarsIncludeNullSentinelVar">Do the new vars include a var that represents a null sentinel either for this type or for any nested type</param> /// <returns>the VarInfo</returns> internal VarInfo CreateStructuredVarInfo(Var v, md.RowType newType, List <Var> newVars, List <md.EdmProperty> newProperties, bool newVarsIncludeNullSentinelVar) { VarInfo varInfo = new StructuredVarInfo(newType, newVars, newProperties, newVarsIncludeNullSentinelVar); m_map.Add(v, varInfo); return(varInfo); }
/// <summary> /// Create a new VarInfo for a structured type Var /// </summary> /// <param name="v">The structured type Var</param> /// <param name="newType">"Mapped" type for v</param> /// <param name="newVars">List of vars corresponding to v</param> /// <param name="newProperties">Flattened Properties </param> /// <param name="newVarsIncludeNullSentinelVar">Do the new vars include a var that represents a null sentinel either for this type or for any nested type</param> /// <returns>the VarInfo</returns> internal VarInfo CreateStructuredVarInfo( Var v, RowType newType, List<Var> newVars, List<EdmProperty> newProperties, bool newVarsIncludeNullSentinelVar) { VarInfo varInfo = new StructuredVarInfo(newType, newVars, newProperties, newVarsIncludeNullSentinelVar); m_map.Add(v, varInfo); return varInfo; }