publisher.cs
来自「一个网上书店的源码」· CS 代码 · 共 55 行
CS
55 行
//============================================================
// Producnt name: BoBoARTS.DBMad
// Version: 1.0
// Coded by: Shen Bo (bo.shen@jb-aptech.com.cn)
// Auto generated at: 2007-9-6 17:40:18
//============================================================
using System;
using System.Collections.Generic;
using System.Text;
namespace MyBookShop.Models
{
//[DBTable("Publishers")]
[Serializable()]
public class Publisher
{
////////////////////////////////////////////
// Member Variables
////////////////////////////////////////////
private int id;
private string name = String.Empty;
////////////////////////////////////////////
// Contructor
////////////////////////////////////////////
public Publisher() { }
////////////////////////////////////////////
// Primary Key
////////////////////////////////////////////
//[DBField("Id")]
public int Id
{
get { return this.id; }
set { this.id = value; }
}
////////////////////////////////////////////
// Properties
////////////////////////////////////////////
//[DBField("Name")]
public string Name
{
get { return this.name; }
set { this.name = value; }
}
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?