/// <summary> /// Configures the meta data. /// </summary> public static void ConfigureMetaData() { MemoryStream ms = new MemoryStream(OrderResources.OrderSystem); StreamReader reader = new StreamReader(ms); MetaInstaller.Restore(OrderContext.MetaDataContext, reader.ReadToEnd()); }
/// <summary> /// Retrieve metadata from the meta data engine and store in the MetaInstaller /// </summary> public static void ConfigureMetaData() { MemoryStream ms = new MemoryStream(CatalogResources.CatalogSystem); StreamReader reader = new StreamReader(ms); MetaInstaller.Restore(CatalogContext.MetaDataContext, reader.ReadToEnd()); reader.Dispose(); }