예제 #1
0
        /// <summary>
        /// Script to generate CSharp code.
        /// </summary>
        public void Run()
        {
            MetaSql       metaSql    = new MetaSql();
            MetaCSharp    metaCSharp = new MetaCSharp(metaSql);
            StringBuilder result     = new StringBuilder();
            string        cSharp;

            new CSharpGenerate(metaCSharp).Run(out cSharp);
            Util.FileSave(ConnectionManager.DatabaseLockFileName, cSharp);
        }
예제 #2
0
 /// <summary>
 /// Constructor.
 /// </summary>
 public MetaCSharp(MetaSql metaSql)
 {
     SchemaName(metaSql.List);
 }