首页 > 代码库 > PetaPoco修改

PetaPoco修改

public override void PreExecute(IDbCommand cmd)
{
//cmd.GetType().GetProperty("BindByName").SetValue(cmd, true, null);
PropertyInfo bindByNameInfo = cmd.GetType().GetProperty("BindByName");
}

行:4124-4128

http://blog.csdn.net/littlewolf766/article/details/10630141

 

 

//<#@ import namespace="System.Data.OracleClient" #>
//<#@ import namespace="Oracle.ManagedDataAccess.Client" #>

 

//using System.Data.OracleClient;
//using Oracle.ManagedDataAccess.Client;

 

const string COLUMN_SQL=@"select table_name TableName,
column_name ColumnName,
data_type DataType,
data_scale DataScale,
nullable IsNullable
from USER_TAB_COLS utc
where table_name = :tableName
and hidden_column=‘NO‘
order by column_id";
}
//and virtual_column=‘NO‘
//and data_type!=‘RAW‘

PetaPoco修改