public static XElement Adapt(this MetaModel model, IModelAdapter adapter) { return(new XElement(Namespace + "Database", new XAttribute("Name", adapter.AdaptDatabase(model.DatabaseName)), new XAttribute("Provider", model.ProviderType.AssemblyQualifiedName), model.GetTables().Select(table => table.Adapt(adapter)), model.GetFunctions().Select(function => function.Adapt(adapter)) )); }
public override IEnumerable <MetaFunction> GetFunctions() { return(_orgmodel.GetFunctions()); }
public override IEnumerable <MetaFunction> GetFunctions() { return(source.GetFunctions()); }