public Application(params Object[] objects) { Tables = new Tables(this, objects.OfType <Table.Table>()); #if NAV2009 Forms = new Forms(this, objects.OfType <Form.Form>()); Dataports = new Dataports(this, objects.OfType <Dataport.Dataport>()); #endif Pages = new Pages(this, objects.OfType <Page.Page>()); Reports = new Reports(this, objects.OfType <Report.Report>()); XmlPorts = new XmlPorts(this, objects.OfType <XmlPort.XmlPort>()); Codeunits = new Codeunits(this, objects.OfType <Codeunit.Codeunit>()); Queries = new Queries(this, objects.OfType <Query.Query>()); MenuSuites = new MenuSuites(this, objects.OfType <MenuSuite.MenuSuite>()); CodeStyle = new ApplicationCodeStyle(); }
public static string QuotedFieldName(this string text, ApplicationCodeStyle codeStyle) { return(text.QuotedExcept(false, codeStyle.FieldNameExceptions)); }
public static string QuotedTableName(this string text, ApplicationCodeStyle codeStyle) { return(text.QuotedExcept(!codeStyle.NonAnsiLettersAllowedInTableName, codeStyle.TableNameExceptions)); }