📄 readerdataset.designer.cs
字号:
public string 操作员 {
get {
return ((string)(this[this.tableReader_view.操作员Column]));
}
set {
this[this.tableReader_view.操作员Column] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public string 备注 {
get {
try {
return ((string)(this[this.tableReader_view.备注Column]));
}
catch (System.InvalidCastException e) {
throw new System.Data.StrongTypingException("表“Reader_view”中列“备注”的值为 DBNull。", e);
}
}
set {
this[this.tableReader_view.备注Column] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public int 借阅书记次数 {
get {
return ((int)(this[this.tableReader_view.借阅书记次数Column]));
}
set {
this[this.tableReader_view.借阅书记次数Column] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public int 借阅期刊次数 {
get {
return ((int)(this[this.tableReader_view.借阅期刊次数Column]));
}
set {
this[this.tableReader_view.借阅期刊次数Column] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public string 是否挂失 {
get {
try {
return ((string)(this[this.tableReader_view.是否挂失Column]));
}
catch (System.InvalidCastException e) {
throw new System.Data.StrongTypingException("表“Reader_view”中列“是否挂失”的值为 DBNull。", e);
}
}
set {
this[this.tableReader_view.是否挂失Column] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public bool Is读者级别Null() {
return this.IsNull(this.tableReader_view.读者级别Column);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void Set读者级别Null() {
this[this.tableReader_view.读者级别Column] = System.Convert.DBNull;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public bool Is备注Null() {
return this.IsNull(this.tableReader_view.备注Column);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void Set备注Null() {
this[this.tableReader_view.备注Column] = System.Convert.DBNull;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public bool Is是否挂失Null() {
return this.IsNull(this.tableReader_view.是否挂失Column);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void Set是否挂失Null() {
this[this.tableReader_view.是否挂失Column] = System.Convert.DBNull;
}
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
public class Reader_viewRowChangeEvent : System.EventArgs {
private Reader_viewRow eventRow;
private System.Data.DataRowAction eventAction;
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public Reader_viewRowChangeEvent(Reader_viewRow row, System.Data.DataRowAction action) {
this.eventRow = row;
this.eventAction = action;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public Reader_viewRow Row {
get {
return this.eventRow;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataRowAction Action {
get {
return this.eventAction;
}
}
}
}
}
namespace UI.ReaderDataSetTableAdapters {
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.ComponentModel.ToolboxItem(true)]
[System.ComponentModel.DataObjectAttribute(true)]
[System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
", Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
[System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public partial class Reader_viewTableAdapter : System.ComponentModel.Component {
private System.Data.OleDb.OleDbDataAdapter _adapter;
private System.Data.OleDb.OleDbConnection _connection;
private System.Data.OleDb.OleDbCommand[] _commandCollection;
private bool _clearBeforeFill;
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public Reader_viewTableAdapter() {
this.ClearBeforeFill = true;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
private System.Data.OleDb.OleDbDataAdapter Adapter {
get {
if ((this._adapter == null)) {
this.InitAdapter();
}
return this._adapter;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
internal System.Data.OleDb.OleDbConnection Connection {
get {
if ((this._connection == null)) {
this.InitConnection();
}
return this._connection;
}
set {
this._connection = value;
if ((this.Adapter.InsertCommand != null)) {
this.Adapter.InsertCommand.Connection = value;
}
if ((this.Adapter.DeleteCommand != null)) {
this.Adapter.DeleteCommand.Connection = value;
}
if ((this.Adapter.UpdateCommand != null)) {
this.Adapter.UpdateCommand.Connection = value;
}
for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
if ((this.CommandCollection[i] != null)) {
((System.Data.OleDb.OleDbCommand)(this.CommandCollection[i])).Connection = value;
}
}
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected System.Data.OleDb.OleDbCommand[] CommandCollection {
get {
if ((this._commandCollection == null)) {
this.InitCommandCollection();
}
return this._commandCollection;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public bool ClearBeforeFill {
get {
return this._clearBeforeFill;
}
set {
this._clearBeforeFill = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
private void InitAdapter() {
this._adapter = new System.Data.OleDb.OleDbDataAdapter();
System.Data.Common.DataTableMapping tableMapping = new System.Data.Common.DataTableMapping();
tableMapping.SourceTable = "Table";
tableMapping.DataSetTable = "Reader_view";
tableMapping.ColumnMappings.Add("读者编号", "读者编号");
tableMapping.ColumnMappings.Add("姓名", "姓名");
tableMapping.ColumnMappings.Add("性别", "性别");
tableMapping.ColumnMappings.Add("生日", "生日");
tableMapping.ColumnMappings.Add("有效证件", "有效证件");
tableMapping.ColumnMappings.Add("证件号", "证件号");
tableMapping.ColumnMappings.Add("电话", "电话");
tableMapping.ColumnMappings.Add("登记日期", "登记日期");
tableMapping.ColumnMappings.Add("至限制日期", "至限制日期");
tableMapping.ColumnMappings.Add("读者级别", "读者级别");
tableMapping.ColumnMappings.Add("限制借阅天数", "限制借阅天数");
tableMapping.ColumnMappings.Add("押金", "押金");
tableMapping.ColumnMappings.Add("操作员", "操作员");
tableMapping.ColumnMappings.Add("备注", "备注");
tableMapping.ColumnMappings.Add("借阅书记次数", "借阅书记次数");
tableMapping.ColumnMappings.Add("借阅期刊次数", "借阅期刊次数");
tableMapping.ColumnMappings.Add("是否挂失", "是否挂失");
this._adapter.TableMappings.Add(tableMapping);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
private void InitConnection() {
this._connection = new System.Data.OleDb.OleDbConnection();
this._connection.ConnectionString = global::UI.Properties.Settings.Default.ConnectionString;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
private void InitCommandCollection() {
this._commandCollection = new System.Data.OleDb.OleDbCommand[1];
this._commandCollection[0] = new System.Data.OleDb.OleDbCommand();
this._commandCollection[0].Connection = this.Connection;
this._commandCollection[0].CommandText = "SELECT 读者编号, 姓名, 性别, 生日, 有效证件, 证件号, 电话, 登记日期, 至限制日期, 读者级别, 限制借阅天数, 押金, 操作员, 备注, 借" +
"阅书记次数, 借阅期刊次数, 是否挂失 FROM dbo.Reader_view";
this._commandCollection[0].CommandType = System.Data.CommandType.Text;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[System.ComponentModel.DataObjectMethodAttribute(System.ComponentModel.DataObjectMethodType.Fill, true)]
public virtual int Fill(ReaderDataSet.Reader_viewDataTable dataTable) {
this.Adapter.SelectCommand = this.CommandCollection[0];
if ((this.ClearBeforeFill == true)) {
dataTable.Clear();
}
int returnValue = this.Adapter.Fill(dataTable);
return returnValue;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[System.ComponentModel.DataObjectMethodAttribute(System.ComponentModel.DataObjectMethodType.Select, true)]
public virtual ReaderDataSet.Reader_viewDataTable GetData() {
this.Adapter.SelectCommand = this.CommandCollection[0];
ReaderDataSet.Reader_viewDataTable dataTable = new ReaderDataSet.Reader_viewDataTable();
this.Adapter.Fill(dataTable);
return dataTable;
}
}
}
#pragma warning restore 1591
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -