static void Main(string[] args) { Console.WriteLine(C_debug_Factory.C_Insert_FactoryPoperty(new C_debug_Entity { P_val_Property = 242, }));//109 Console.Read(); return; Console.WriteLine(C_LinkMutiply_Factory.C_Insert_FactoryPoperty(new C_LinkMutiply_Entity { P_key1_Property = 157, P_key2_Property = 169, P_key3_Property = 124, P_status_Property = true, })); Console.Read(); return; var st = new StreamWriter(new FileStream("D:\\Documents\\Visual Studio 2013\\Projects\\ConsoleApplication1\\ConsoleApplication1\\debug.cs", FileMode.Truncate, FileAccess.Write), Encoding.UTF8); StringBuilder sb = new StringBuilder(); using (DB db = new DB()) { db.Render(sb, new RenderConfig()); } st.Write(sb.ToString()); st.Close(); //Console.Read(); }