PetaPoco修改

时间:2014-11-07 16:20:56   收藏:0   阅读:357

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‘

原文:http://www.cnblogs.com/zwei1121/p/4081280.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!