本文整理汇总了C#中CY.Utility.DBUtility.SqlServerUtility.ExecuteSP方法的典型用法代码示例。如果您正苦于以下问题:C# SqlServerUtility.ExecuteSP方法的具体用法?C# SqlServerUtility.ExecuteSP怎么用?C# SqlServerUtility.ExecuteSP使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类CY.Utility.DBUtility.SqlServerUtility
的用法示例。
在下文中一共展示了SqlServerUtility.ExecuteSP方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: Delete
public void Delete(Core.Business.SurveyTable surveyTable)
{
SqlServerUtility sql = new SqlServerUtility();
sql.AddParameter("@Id", SqlDbType.UniqueIdentifier, surveyTable.Id);
sql.ExecuteSP("usp_DeleteSurveyTable");
}
示例2: Delete
public void Delete(Core.Business.ObjectStimulatedType objectStimulatedType)
{
SqlServerUtility sql = new SqlServerUtility();
sql.AddParameter("@Id", SqlDbType.Int, objectStimulatedType.Id);
sql.ExecuteSP("usp_DeleteObjectStimulatedType");
}
示例3: Delete
public void Delete(Core.Business.InstrumentPictureRepository instrumentPictureRepository)
{
SqlServerUtility sql = new SqlServerUtility();
sql.AddParameter("@Id", SqlDbType.UniqueIdentifier, instrumentPictureRepository.Id);
sql.ExecuteSP("usp_DeleteInstrumentPictureRepository");
}
示例4: Delete
public void Delete(Core.Business.JointReviewSecondAudit jointReviewSecondAudit)
{
SqlServerUtility sql = new SqlServerUtility();
sql.AddParameter("@Id", SqlDbType.UniqueIdentifier, jointReviewSecondAudit.Id);
sql.ExecuteSP("usp_DeleteJointReviewSecondAudit");
}
示例5: Delete
public void Delete(Core.Business.SysSetting sysSetting)
{
SqlServerUtility sql = new SqlServerUtility();
sql.AddParameter("@Id", SqlDbType.UniqueIdentifier, sysSetting.Id);
sql.ExecuteSP("usp_DeleteSysSetting");
}
示例6: Delete
public void Delete(Core.Business.Province province)
{
SqlServerUtility sql = new SqlServerUtility();
sql.AddParameter("@Id", SqlDbType.UniqueIdentifier, province.Id);
sql.ExecuteSP("usp_DeleteProvince");
}
示例7: Delete
public void Delete(Core.Business.VirtualLabDataBigClass virtualLabDataBigClass)
{
SqlServerUtility sql = new SqlServerUtility();
sql.AddParameter("@ID", SqlDbType.UniqueIdentifier, virtualLabDataBigClass.Id);
sql.ExecuteSP("usp_DeleteVirtualLabDataBigClass");
}
示例8: Delete
public void Delete(Core.Business.PictureExtend pictureExtend)
{
SqlServerUtility sql = new SqlServerUtility(connectionString);
sql.AddParameter("@Id", SqlDbType.BigInt, pictureExtend.Id);
sql.ExecuteSP("USP_PictureExtend_Delete_By_Id");
}
示例9: Delete
public void Delete(Core.Business.INSTRATTACHMENT iNSTRATTACHMENT)
{
SqlServerUtility sql = new SqlServerUtility();
sql.AddParameter("@Id", SqlDbType.UniqueIdentifier, iNSTRATTACHMENT.Id);
sql.ExecuteSP("usp_DeleteINSTRATTACHMENT");
}
示例10: Delete
public void Delete(Core.Business.UserEducation userEducation)
{
SqlServerUtility sql = new SqlServerUtility();
sql.AddParameter("@EducationID", SqlDbType.UniqueIdentifier, userEducation.Id);
sql.ExecuteSP("usp_DeleteUserEducation");
}
示例11: Delete
public void Delete(Core.Business.Role role)
{
SqlServerUtility sql = new SqlServerUtility();
sql.AddParameter("@RoleId", SqlDbType.Int, role.Id);
sql.ExecuteSP("usp_DeleteRole");
}
示例12: Delete
public void Delete(Core.Business.AdvancedPage advancedPage)
{
SqlServerUtility sql = new SqlServerUtility(connectionString);
sql.AddParameter("@Id", SqlDbType.Int, advancedPage.Id);
sql.ExecuteSP("USP_AdvancedPage_Delete_By_Id");
}
示例13: Delete
public void Delete(Core.Business.ExpertField expertField)
{
SqlServerUtility sql = new SqlServerUtility();
sql.AddParameter("@Id", SqlDbType.UniqueIdentifier, expertField.Id);
sql.ExecuteSP("usp_DeleteExpertField");
}
示例14: Delete
public void Delete(Core.Business.StimulationAppliction stimulationAppliction)
{
SqlServerUtility sql = new SqlServerUtility();
sql.AddParameter("@ID", SqlDbType.UniqueIdentifier, stimulationAppliction.Id);
sql.ExecuteSP("usp_DeleteStimulationAppliction");
}
示例15: Delete
public void Delete(Core.Business.STATUSMESSAGECODE sTATUSMESSAGECODE)
{
SqlServerUtility sql = new SqlServerUtility();
sql.AddParameter("@Id", SqlDbType.UniqueIdentifier, sTATUSMESSAGECODE.Id);
sql.ExecuteSP("usp_DeleteSTATUSMESSAGECODE");
}