ClassGenerator V2.01 生成的ORM源码
ClassGenerator V2.01 生成的ORM源码
具体操作请参考:《CS框架代码生成器ClassGeneratorV2.01使用指南》.doc

using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
using CSFramework.ORM;
/*==========================================
* 程序说明: tb_Customer的业务逻辑层
* 作者姓名: Your Name
* 创建日期: 2011-03-24 03:05:54
* 最后修改: 2011-03-24 03:05:54
*
* 注: 本代码由ClassGenerator自动生成
*==========================================*/
namespace CSFramework3.Models
{
[ORM_ObjectClassAttribute("tb_Customer", "CustomerCode", true)]
public class tb_Customer
{
public static string __TableName = "tb_Customer";
public static string __KeyName = "CustomerCode";
[ORM_FieldAttribute(SqlDbType.Int,4,false,false,false,false,false)]
public static string ISID = "ISID";
[ORM_FieldAttribute(SqlDbType.VarChar,20,false,true,true,false,false)]
public static string CustomerCode = "CustomerCode";
[ORM_FieldAttribute(SqlDbType.NVarChar,200,false,true,false,false,false)]
public static string NativeName = "NativeName";
[ORM_FieldAttribute(SqlDbType.VarChar,100,false,true,false,false,false)]
public static string EnglishName = "EnglishName";
[ORM_FieldAttribute(SqlDbType.VarChar,50,false,true,false,false,false)]
public static string AttributeCodes = "AttributeCodes";
[ORM_FieldAttribute(SqlDbType.NVarChar,100,false,true,false,false,false)]
public static string Address1 = "Address1";
[ORM_FieldAttribute(SqlDbType.NVarChar,100,false,true,false,false,false)]
public static string Address2 = "Address2";
[ORM_FieldAttribute(SqlDbType.NVarChar,100,false,true,false,false,false)]
public static string Address3 = "Address3";
[ORM_FieldAttribute(SqlDbType.NVarChar,40,false,true,false,false,false)]
public static string Country = "Country";
[ORM_FieldAttribute(SqlDbType.NVarChar,40,false,true,false,false,false)]
public static string Region = "Region";
[ORM_FieldAttribute(SqlDbType.NVarChar,40,false,true,false,false,false)]
public static string City = "City";
[ORM_FieldAttribute(SqlDbType.NVarChar,12,false,true,false,false,false)]
public static string CountryCode = "CountryCode";
[ORM_FieldAttribute(SqlDbType.VarChar,6,false,true,false,false,false)]
public static string CityCode = "CityCode";
[ORM_FieldAttribute(SqlDbType.VarChar,20,false,true,false,false,false)]
public static string Tel = "Tel";
[ORM_FieldAttribute(SqlDbType.VarChar,20,false,true,false,false,false)]
public static string Fax = "Fax";
[ORM_FieldAttribute(SqlDbType.VarChar,20,false,true,false,false,false)]
public static string PostalCode = "PostalCode";
[ORM_FieldAttribute(SqlDbType.VarChar,20,false,true,false,false,false)]
public static string ZipCode = "ZipCode";
[ORM_FieldAttribute(SqlDbType.VarChar,200,false,true,false,false,false)]
public static string WebAddress = "WebAddress";
[ORM_FieldAttribute(SqlDbType.NVarChar,400,false,true,false,false,false)]
public static string Email = "Email";
[ORM_FieldAttribute(SqlDbType.NVarChar,40,false,true,false,false,false)]
public static string Bank = "Bank";
[ORM_FieldAttribute(SqlDbType.VarChar,50,false,true,false,false,false)]
public static string BankAccount = "BankAccount";
[ORM_FieldAttribute(SqlDbType.NVarChar,100,false,true,false,false,false)]
public static string BankAddress = "BankAddress";
[ORM_FieldAttribute(SqlDbType.NVarChar,40,false,true,false,false,false)]
public static string ContactPerson = "ContactPerson";
[ORM_FieldAttribute(SqlDbType.NVarChar,400,false,true,false,false,false)]
public static string Remark = "Remark";
[ORM_FieldAttribute(SqlDbType.VarChar, 10, false, true, false, false, false)]
public static string InUse = "InUse";
[ORM_FieldAttribute(SqlDbType.Int,4,false,true,false,false,false)]
public static string PaymentTerm = "PaymentTerm";
[ORM_FieldAttribute(SqlDbType.DateTime,8,false,true,false,false,false)]
public static string CreationDate = "CreationDate";
[ORM_FieldAttribute(SqlDbType.VarChar,50,false,true,false,false,false)]
public static string CreatedBy = "CreatedBy";
[ORM_FieldAttribute(SqlDbType.DateTime,8,false,true,false,false,false)]
public static string LastUpdateDate = "LastUpdateDate";
[ORM_FieldAttribute(SqlDbType.VarChar,50,false,true,false,false,false)]
public static string LastUpdatedBy = "LastUpdatedBy";
}
}

ClassGenerator V2.01 生成的DAL源码
ClassGenerator V2.01 生成的BLL源码
生成的窗体Form源码集成到VS解决方案 - C/S框架三层架构代码生成器操作指南
CSFramework.CodeGeneratorV6.0|将窗体(Form)源码加入到VS解决方案|C/S开发框架
C# 格式化CodeHighlighter生成的SQL脚本高亮着色源码(CSFramework.com原创)
C# CodeHighlighter生成的高亮着色HTML源码格式化
表单上实现增删改查,除了生成的BLL,DAL和ORM表,还需要处理什么?
代码生成器:直连模式+WebApi生成的源码集成到VS解决方案|C/S开发框架
HTTP|POST提交数据:ContentType=application/x|www|form|urlencoded 内容格式|C#源码
OMS订单管理系统,OMS内贸外贸订单管理软件(C#源码+Winform)
WinForm开发框架源码下载,试用版下载
C#源码-医疗管理系统CS(winform)版本-源码下载
DevExpress Winform 采用GridControl表格组件开发的会计凭证控件(C#源码)
Winform三层架构教程,CS三层结构图及源码实例讲解
Winform调用WebApi接口实现增删改查CRUD实例源码
Winform自动升级框架源码(C#.NET)-C/S框架网
什么是C/S结构? | C/S框架核心组成部分 | C/S框架-WebService部署图 | C/S框架-权限管理 | C/S结构系统框架 - 5.1旗舰版介绍 | C/S结构系统框架 - 功能介绍 | C/S结构系统框架 - 产品列表 | C/S结构系统框架 - 应用展示(图) | 三层体系架构详解 | C/S架构轻量级快速开发框架 | C/S框架网客户案例 | WebApi快速开发框架 | C/S框架代码生成器 | 用户授权注册软件系统 | 版本自动升级软件 | 数据库底层应用框架 | CSFramework.CMS内容管理系统 |
在线客服
