/// <summary> /// checks if the schemaKey refers to the provider manifest schema key /// and if true, loads the provider manifest /// </summary> /// <param name="connection">The connection where the store manifest is loaded from</param> /// <param name="checkForSystemNamespace">Check for System namespace</param> /// <returns>The provider manifest object that was loaded</returns> private void LoadProviderManifest(DbProviderManifest storeManifest, bool checkForSystemNamespace) { foreach (PrimitiveType primitiveType in storeManifest.GetStoreTypes()) { //Add it to the collection and the primitive type maps this.AddInternal(primitiveType); _primitiveTypeMaps.Add(primitiveType); } foreach (EdmFunction function in storeManifest.GetStoreFunctions()) { AddInternal(function); } }
/// <summary> /// checks if the schemaKey refers to the provider manifest schema key /// and if true, loads the provider manifest /// </summary> /// <param name="connection">The connection where the store manifest is loaded from</param> /// <returns>The provider manifest object that was loaded</returns> private void LoadProviderManifest(DbProviderManifest storeManifest) { foreach (var primitiveType in storeManifest.GetStoreTypes()) { //Add it to the collection and the primitive type maps AddInternal(primitiveType); _primitiveTypeMaps.Add(primitiveType); } foreach (var function in storeManifest.GetStoreFunctions()) { AddInternal(function); } }