Noebe V2.0 美味的持久层 API 文档
Pixysoft.Framework.Noebe 命名空间概览
类概览 |
|
Get connection string Reference: http://www.carlprothman.net/Default.aspx?tabid=81 |
|
database utility |
|
Noebe Adapter, the same as ADO.NET adapter |
|
Base class for other api |
|
Noebe Comamnd, the same as ADO.NET command |
|
noebe configuration |
|
NoebeManager Singleton pattern Init Noebe Get Other APIs |
|
Auto generate primary key |
|
Auto Select and Manual Select |
|
Simple CRUD according to Schema |
|
Distributed Simple SRUD according to Schema |
|
Distributed Transaction according to Schema |
|
Simple Transaction |
Pixysoft.Framework.Noebe
类 NoebeManager
总控制类
Pixysoft.Framework.Noebe.Schema.DatabaseSchema |
DatabaseSchema |
Pixysoft.Framework.Noebe.NoebeManager |
|
Pixysoft.Framework.Noebe.NoebeAdapter |
NoebeAdapter |
Pixysoft.Framework.Noebe.NoebeCommand |
NoebeCommand |
Pixysoft.Framework.Noebe.NoebePrimaryKey |
NoebePrimaryKey |
Pixysoft.Framework.Noebe.Querion |
Querion |
Pixysoft.Framework.Noebe.Session |
Session |
Pixysoft.Framework.Noebe.SyncSession |
SyncSession |
Pixysoft.Framework.Noebe.SyncTransaction |
SyncTransaction |
Pixysoft.Framework.Noebe.Transaction |
Transaction |
方法概览 |
|
void |
AddBuffer(string[] tables) |
System.Data.DataSet |
GetEntity() |
System.Data.DataTable |
GetEntity(string tableName) |
void |
Initialize() |
void |
Initialize(string path) |
void |
Initialize(Pixysoft.Framework.Noebe.NoebeConfiguration config) |
void |
Initialize(Pixysoft.Framework.Noebe.NoebeConfiguration config, Pixysoft.Framework.Noebe.Schema.DatabaseSchema ds) |
Pixysoft.Framework.Noebe
类 Querion
默认查询类
方法概览 |
|
bool |
Select(System.Data.DataTable table) |
bool |
Select(System.Data.DataTable table, string sql) |
bool |
Select(System.Data.DataTable table, string sql, System.Collections.Generic.Dictionary<String,String> paras) |
bool |
SelectByPk(System.Data.DataTable table, object[] values) |
Pixysoft.Framework.Noebe
类 Session
默认CRUD类
方法概览 |
|
bool |
AutoInsert(System.Data.DataTable table) |
bool |
AutoInsert(System.Data.DataRow row) |
bool |
Delete(System.Data.DataTable table) |
bool |
Delete(System.Data.DataRow row) |
bool |
Insert(System.Data.DataTable table) |
bool |
Insert(System.Data.DataRow row) |
bool |
Update(System.Data.DataTable table) |
bool |
Update(System.Data.DataRow row) |
Pixysoft.Framework.Noebe
类 Transaction
默认事务处理类
属性概览 |
|
bool |
IsOpen |
方法概览 |
|
void |
Begin() |
void |
Commit() |
bool |
Delete(System.Data.DataTable table) |
bool |
Delete(System.Data.DataRow row) |
bool |
Insert(System.Data.DataTable table) |
bool |
Insert(System.Data.DataRow row) |
void |
Rollback() |
bool |
Update(System.Data.DataTable table) |
bool |
Update(System.Data.DataRow row) |
Pixysoft.Framework.Noebe
类 SyncSession
支持分布式数据库同步操作的SRUD操作
方法概览 |
|
bool |
Delete(System.Data.DataTable table) |
bool |
Delete(System.Data.DataRow row) |
bool |
Update(System.Data.DataTable table) |
bool |
Update(System.Data.DataRow row) |
Pixysoft.Framework.Noebe
类 SyncTransaction
支持分布式数据库同步操作的事务处理类
属性概览 |
|
bool |
IsOpen |
方法概览 |
|
void |
Begin() |
void |
Commit() |
bool |
Delete(System.Data.DataTable table) |
bool |
Delete(System.Data.DataRow row) |
bool |
Insert(System.Data.DataTable table) |
bool |
Insert(System.Data.DataRow row) |
void |
Rollback() |
bool |
Update(System.Data.DataTable table) |
bool |
Update(System.Data.DataRow row) |
Pixysoft.Framework.Noebe
类 NoebePrimaryKey
自动添加主键类
属性概览 |
|
int |
|
string |
|
string |
方法概览 |
|
bool |
FillByOracleSequence(System.Data.DataTable table, string seqname) |
bool |
FillByOracleSequence(System.Data.DataTable table, string columnName, string seqname) |
bool |
FillBySelectMax(System.Data.DataTable table) |
bool |
FillBySelectMax(System.Data.DataTable table, string columnName) |
bool |
FillBySelectMax(System.Data.DataRow row) |
bool |
FillBySelectMax(System.Data.DataRow row, string columnName) |
Pixysoft.Framework.Noebe
类 NoebeAdapter
模拟ADO.NET类
方法概览 |
|
bool |
Fill(System.Data.DataTable table) |
bool |
Fill(System.Data.DataTable table, string sql) |
bool |
Fill(System.Data.DataTable table, string sql, System.Collections.Generic.Dictionary`2[[System.String, mscorlib, Version= |
bool |
Update(System.Data.DataTable table) |
bool |
Update(System.Data.DataTable table, string sql) |
bool |
Update(System.Data.DataTable table, string sql, System.Collections.Generic.Dictionary<String,String> paras) |
Pixysoft.Framework.Noebe
类 NoebeCommand
模拟ADO.NET类
属性概览 |
|
string |
SQL |
方法概览 |
|
bool |
Execute(string[] paras) |
bool |
Execute(System.Collections.Generic.Dictionary<String,String> paras) |