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))
                         ));
 }
Ejemplo n.º 2
0
 public override IEnumerable <MetaFunction> GetFunctions()
 {
     return(_orgmodel.GetFunctions());
 }
Ejemplo n.º 3
0
 public override IEnumerable <MetaFunction> GetFunctions()
 {
     return(source.GetFunctions());
 }