/// <summary> /// Builds an assembly containing a typed data pContext, and returns data for the Schema Explorer. /// </summary> /// <param name="pCxInfo">Connection information, as entered by the user</param> /// <param name="pAssemblyToBuild">Name and location of the target assembly to build</param> /// <param name="pNameSpace">The suggested namespace of the typed data pContext. You must update this /// parameter if you don't use the suggested namespace.</param> /// <param name="pTypeName">The suggested type name of the typed data pContext. You must update this /// parameter if you don't use the suggested type name.</param> /// <returns>Schema which will be subsequently loaded into the Schema Explorer.</returns> public override List <ExplorerItem> GetSchemaAndBuildAssembly(IConnectionInfo pCxInfo, AssemblyName pAssemblyToBuild, ref string pNameSpace, ref string pTypeName) { var lProp = new VelocityDBProperties(pCxInfo); VelocityDBBuilder lBuilder = new VelocityDBBuilder(this, lProp); lBuilder.BuildAssembly(pAssemblyToBuild, pNameSpace, pTypeName); return(lBuilder.BuildSchema()); }
/// <summary> /// Builds an assembly containing a typed data pContext, and returns data for the Schema Explorer. /// </summary> /// <param name="pCxInfo">Connection information, as entered by the user</param> /// <param name="pAssemblyToBuild">Name and location of the target assembly to build</param> /// <param name="pNameSpace">The suggested namespace of the typed data pContext. You must update this /// parameter if you don't use the suggested namespace.</param> /// <param name="pTypeName">The suggested type name of the typed data pContext. You must update this /// parameter if you don't use the suggested type name.</param> /// <returns>Schema which will be subsequently loaded into the Schema Explorer.</returns> public override List<ExplorerItem> GetSchemaAndBuildAssembly(IConnectionInfo pCxInfo, AssemblyName pAssemblyToBuild, ref string pNameSpace, ref string pTypeName) { var lProp = new VelocityDBProperties(pCxInfo); VelocityDBBuilder lBuilder = new VelocityDBBuilder(this, lProp); lBuilder.BuildAssembly(pAssemblyToBuild, pNameSpace, pTypeName); return lBuilder.BuildSchema(); }