本文整理汇总了C#中Session.ExecuteSproc方法的典型用法代码示例。如果您正苦于以下问题:C# Session.ExecuteSproc方法的具体用法?C# Session.ExecuteSproc怎么用?C# Session.ExecuteSproc使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Session
的用法示例。
在下文中一共展示了Session.ExecuteSproc方法的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: ExecTurnOverCustomerDescending
public static DevExpress.Xpo.DB.SelectedData ExecTurnOverCustomerDescending(Session session)
{
return session.ExecuteSproc("TurnOverCustomerDescending");
}
示例2: ExecTurnOverCustomerDescendingIntoDataView
public static XPDataView ExecTurnOverCustomerDescendingIntoDataView(Session session)
{
DevExpress.Xpo.DB.SelectedData sprocData = session.ExecuteSproc("TurnOverCustomerDescending");
return new XPDataView(session.Dictionary, session.GetClassInfo(typeof(TurnOverCustomerAscendingResult)), sprocData);
}
示例3: Execsp_helpdiagramsIntoDataView
public static void Execsp_helpdiagramsIntoDataView(XPDataView dataView, Session session, string diagramname, int owner_id)
{
DevExpress.Xpo.DB.SelectedData sprocData = session.ExecuteSproc("sp_helpdiagrams", new OperandValue(diagramname), new OperandValue(owner_id));
dataView.PopulateProperties(session.GetClassInfo(typeof(sp_helpdiagramsResult)));
dataView.LoadData(sprocData);
}
示例4: ExecTurnOverCustomerAscendingIntoDataView
public static void ExecTurnOverCustomerAscendingIntoDataView(XPDataView dataView, Session session)
{
DevExpress.Xpo.DB.SelectedData sprocData = session.ExecuteSproc("TurnOverCustomerAscending");
dataView.PopulateProperties(session.GetClassInfo(typeof(TurnOverCustomerAscendingResult)));
dataView.LoadData(sprocData);
}
示例5: Execsp_helpdiagrams
public static DevExpress.Xpo.DB.SelectedData Execsp_helpdiagrams(Session session, string diagramname, int owner_id)
{
return session.ExecuteSproc("sp_helpdiagrams", new OperandValue(diagramname), new OperandValue(owner_id));
}
示例6: ExecVehicleNotRacedByPeriodeIntoDataView
public static void ExecVehicleNotRacedByPeriodeIntoDataView(XPDataView dataView, Session session, DateTime Date)
{
DevExpress.Xpo.DB.SelectedData sprocData = session.ExecuteSproc("VehicleNotRacedByPeriode", new OperandValue(Date));
dataView.PopulateProperties(session.GetClassInfo(typeof(VehicleNotRacedByPeriodeResult)));
dataView.LoadData(sprocData);
}
示例7: ExecVehicleNotRacedByPeriode
public static DevExpress.Xpo.DB.SelectedData ExecVehicleNotRacedByPeriode(Session session, DateTime Date)
{
return session.ExecuteSproc("VehicleNotRacedByPeriode", new OperandValue(Date));
}