本文整理匯總了C#中SoMeTech.DataAccess.DB_OPT.BuildQueryCommand方法的典型用法代碼示例。如果您正苦於以下問題:C# DB_OPT.BuildQueryCommand方法的具體用法?C# DB_OPT.BuildQueryCommand怎麽用?C# DB_OPT.BuildQueryCommand使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類SoMeTech.DataAccess.DB_OPT
的用法示例。
在下文中一共展示了DB_OPT.BuildQueryCommand方法的5個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的C#代碼示例。
示例1: Delete
public override int Delete(DB_OPT dbo)
{
OracleParameter[] parameters = new OracleParameter[] { new OracleParameter("rolepk", OracleType.Char, 40) };
parameters[0].Value = base.RolePK;
return dbo.BuildQueryCommand("PROC_DELETEROLE", parameters);
}
示例2: Delete_Proc
public int Delete_Proc(string PK, DB_OPT dbo)
{
OracleParameter[] parameters = new OracleParameter[] { new OracleParameter("sfpk", OracleType.Char, 40) };
parameters[0].Value = PK;
return dbo.BuildQueryCommand("PROC_DELETESFPRO", parameters);
}
示例3: Delete
public override int Delete(DB_OPT dbo)
{
OracleParameter[] parameters = new OracleParameter[] { new OracleParameter("emppk", OracleType.Char, 40) };
parameters[0].Value = base.EmployeePK;
return dbo.BuildQueryCommand("PROC_DELETEEMPLOYEE", parameters);
}
示例4: Delete
public override int Delete(DB_OPT dbo)
{
OracleParameter[] parameters = new OracleParameter[] { new OracleParameter("compk", OracleType.Char, 4) };
parameters[0].Value = base.pk_corp;
return dbo.BuildQueryCommand("PROC_DELETECOMPANY", parameters);
}
示例5: Delete
public override int Delete(DB_OPT dbo)
{
OracleParameter[] parameters = new OracleParameter[] { new OracleParameter("brapk", OracleType.Char, 40) };
parameters[0].Value = base.BranchPK;
return dbo.BuildQueryCommand("PROC_DELETEBRANCH", parameters);
}