Пример #1
0
        public Main()
        {
            InitializeComponent();

            Options = new GlobalOptions();
            typist = new Typist();

            cgDefault.Options = Options.Defaults;
            cgAssociations.Options = Options.Associations;
            cgComplexProp.Options = Options.ComplexProps;
            cgComplexTypes.Options = Options.ComplexTypes;
            cgEntitySets.Options = Options.EntitySets;
            cgEntityTypes.Options = Options.EntityTypes;
            cgMethods.Options = Options.Methods;
            cgNavProps.Options = Options.NavigationProps;
            cgScalars.Options = Options.ScalarMembers;
        }
Пример #2
0
        public void Run()
        {
            var tool = new Typist();

            tool.Run(@"Movies.edmx", new PortugueseRuleSet(), new GlobalOptions(), null);
        }