📄 business.cs
字号:
//------------------------------------------------------------------------------
// <autogenerated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </autogenerated>
//------------------------------------------------------------------------------
using System;
using System.Data;
using OrmLib;
namespace ORMBiz
{
/// <summary>
/// Base class that all Table wrapping template objects inherit from.
/// </summary>
[Serializable()]
abstract public class Business : BusinessBase
{
/// <summary>
/// The data context of the underlying data row.
/// </summary>
internal DataManager DataContext;
/// <summary>
/// All the relations in the schema.
/// </summary>
protected DataRelationCollection Relations;
/// <summary>
/// The associated dataset for the underlying row.
/// </summary>
protected DataSet DataSet;
/// <summary>
/// Exposes the row to all classes in the assembly
/// </summary>
/// <value>
/// The underlying datarow this object wraps
/// </value>
internal DataRow row
{
get{ return base.dataRow; }
set{ base.dataRow = value;}
}
/// <summary>
/// Constructor must have a data context.
/// </summary>
/// <param name="dataContext">The DataManager from which to work</param>
protected Business(DataManager dataContext)
{
DataContext = dataContext;
DataSet = dataContext.DataSet;
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -