摘要:using System;using System.Collections.Generic;using System.IO;using System.Text;using Codes;using CodeUtility;using Model;namespace CodeFactory{ public class CodeAccess { #region BLL public static voi...
阅读全文
05 2010 档案
摘要:using Model; using System; using System.Collections; using System.Collections.Generic; using System.Configuration; using System.Data; using System.Data.SqlClient; using System.Runtime.InteropServices;...
阅读全文
摘要:using Model;using System;using System.Text;namespace DBUtility{ public class GetSqlString { public static string GetStoreProcedures() { return "select distinct(name) from sysobjects where type='p' "; ...
阅读全文
摘要:using System; using System.IO; using System.Reflection; using System.Runtime.Serialization.Formatters.Binary; using System.Xml;namespace DBUtility{ public class CommonHelper { public static object Des...
阅读全文
摘要:using System;using System.Collections.Generic;namespace Model{ public class Table { private List<Field> _fields = new List<Field>(); private string _name; public List<Field> Fields ...
阅读全文
摘要:using System;namespace Model{ public class Field { private bool _allownull; private string _defaultvalue; private string _fielddescn; private int _fieldlength; private string _fieldname; private int _...
阅读全文
摘要:using System;namespace Model{ public enum DataType { intType, bitType, uniqueidentifierType, datetimeType, MoneyType, ntextType, nvarcharType, varcharType, bigintType, binaryType, charType, decimalTyp...
阅读全文
摘要:using System;using System.Collections.Generic;using System.Data.OleDb;using System.Data.SqlClient;namespace Model{ public class Database { private bool _connected; private string _connectionstring; pr...
阅读全文
摘要:using System;namespace Model{ public class CreateStyle { private string _createpath; private bool _hascreatebll; private bool _hascreatecachedependencyfactory; private bool _hascreatedal; private bool...
阅读全文
摘要:using System;namespace Model //命名空间{ //CodeStyle 类 public class CodeStyle { private string _afternamespace; private string _beforenamespace; private CacheFrames _cacheframe = CacheFrames.Cache; privat...
阅读全文
摘要:引言: 不想多说费话,现在就开始;一:先说代码生成工具体建哪几个项目(以我的为例)CodeFactory //下面有详细说明,在这里不说了Codes //下面有详细说明,在这里不说了CodeUtility //下面有详细说明,在这里不说了DBUtility //下面有详细说明,在这里不说了Model //下面有详细说明,在这里不说了ProjectName//这里是自已定义的项目名以上六项目清楚地表...
阅读全文

浙公网安备 33010602011771号