public static void XForm_exten(BillTable obj) { string tbl_name = obj.STables.Stables_name; tbl_name = tbl_name.Remove((tbl_name).Length - 4).UpperFirst(); string vpath = CodeIT.NPath + obj.SPath.Formfolder; vpath = CDir.CheckDir(vpath); string result = XCreate(obj); File.WriteAllText(@"" + vpath + "\\F" + tbl_name + "_exten.cs", result); }
public static void Create(MasterDetails obj) { string tbl_name = obj.Mastertable.Mastertables_name; tbl_name = tbl_name.Remove((tbl_name).Length - 4).ToUpper(); string vpath = CodeIT.NPath + obj.Mastertablepath.Contfolder; vpath = CDir.CheckDir(vpath); string result = XCreate(obj); File.WriteAllText(@"" + vpath + "\\" + tbl_name + ".cs", result); }
public static void XList_designer(MasterDetails obj) { string tbl_name = obj.Mastertable.Mastertables_name; tbl_name = tbl_name.Remove((tbl_name).Length - 4).UpperFirst(); string vpath = CodeIT.NPath + obj.Mastertablepath.Listfolder; vpath = CDir.CheckDir(vpath); string result = XCreate(obj); File.WriteAllText(@"" + vpath + "\\L" + tbl_name + "_Designer.cs", result); }
public static void XList_default(BillTable obj) { string tbl_name = obj.STables.Stables_name; tbl_name = tbl_name.Remove((tbl_name).Length - 4).UpperFirst(); string vpath = CodeIT.NPath + obj.SPath.Listfolder; vpath = CDir.CheckDir(vpath); string result = XCreate(obj); File.WriteAllText(@"" + vpath + "\\L" + tbl_name + ".designer.cs", result); }
public static void XConstItems(BillTable obj) { string tbl_name = obj.STables.Stables_name; tbl_name = tbl_name.Remove((tbl_name).Length - 4).ToUpper(); string vpath = CodeIT.NPath + obj.SPath.Contfolder; vpath = CDir.CheckDir(vpath); string result = XCreate(obj); File.WriteAllText(@"" + vpath + "\\" + tbl_name + "ITEMS.cs", result); }