• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

C# Administracion.Sesion类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了C#中SGE.Entidades.Administracion.Sesion的典型用法代码示例。如果您正苦于以下问题:C# Sesion类的具体用法?C# Sesion怎么用?C# Sesion使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。



Sesion类属于SGE.Entidades.Administracion命名空间,在下文中一共展示了Sesion类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C#代码示例。

示例1: GenerarImpresion

 public static object GenerarImpresion(Sesion sesion, CotizacionItem item)
 {
     object resultado = new { };
     try
     {
         object[] datos = GenerarImpresion(item);
         resultado = new { correcto = true, imgBase64 = datos[0], valPZSI = datos[1] };
     }
     catch (Exception)
     {
         resultado = new { correcto = false };
     }
     return resultado;
 }
开发者ID:eldersontc,项目名称:xyzsge,代码行数:14,代码来源:venCotizacion.aspx.cs


示例2: Agregar

 public static object Agregar(Sesion sesion, Numeracion numeracion)
 {
     object resultado = new { };
     try
     {
         blNumeracion blNumeracion = new blNumeracion(sesion);
         blNumeracion.Agregar(numeracion);
         resultado = new { correcto = true };
     }
     catch (Exception)
     {
         resultado = new { correcto = false };
     }
     return resultado;
 }
开发者ID:eldersontc,项目名称:xyzsge,代码行数:15,代码来源:admNumeracion.aspx.cs


示例3: Eliminar

 public static object Eliminar(Sesion sesion, int idMetodoImpresion)
 {
     object resultado = new { };
     try
     {
         blMetodoImpresion blMetodoImpresion = new blMetodoImpresion(sesion);
         blMetodoImpresion.Eliminar(idMetodoImpresion);
         resultado = new { correcto = true };
     }
     catch (Exception)
     {
         resultado = new { correcto = false };
     }
     return resultado;
 }
开发者ID:eldersontc,项目名称:xyzsge,代码行数:15,代码来源:venMetodoImpresion.aspx.cs


示例4: ObtenerActivos

 public static object ObtenerActivos(Sesion sesion)
 {
     object resultado = new { };
     try
     {
         blServicio blServicio = new blServicio(sesion);
         IList<Servicio> servicios = blServicio.ObtenerActivos();
         resultado = new { correcto = true, servicios = servicios };
     }
     catch (Exception)
     {
         resultado = new { correcto = false };
     }
     return resultado;
 }
开发者ID:eldersontc,项目名称:xyzsge,代码行数:15,代码来源:venServicio.aspx.cs


示例5: Agregar

 public static object Agregar(Sesion sesion, Servicio servicio)
 {
     object resultado = new { };
     try
     {
         blServicio blServicio = new blServicio(sesion);
         blServicio.Agregar(servicio);
         resultado = new { correcto = true };
     }
     catch (Exception)
     {
         resultado = new { correcto = false };
     }
     return resultado;
 }
开发者ID:eldersontc,项目名称:xyzsge,代码行数:15,代码来源:venServicio.aspx.cs


示例6: Eliminar

 public static object Eliminar(Sesion sesion, List<int> ids)
 {
     object resultado = new { };
     try
     {
         blPlantilla blPlantilla = new blPlantilla(sesion);
         blPlantilla.Eliminar(ids);
         resultado = new { correcto = true };
     }
     catch (Exception)
     {
         resultado = new { correcto = false };
     }
     return resultado;
 }
开发者ID:eldersontc,项目名称:xyzsge,代码行数:15,代码来源:venPlantilla.aspx.cs


示例7: ObtenerActivos

 public static object ObtenerActivos(Sesion sesion)
 {
     object resultado = new { };
     try
     {
         blUnidad blUnidad = new blUnidad(sesion);
         IList<Unidad> unidades = blUnidad.ObtenerActivos();
         resultado = new { correcto = true, unidades = unidades };
     }
     catch (Exception)
     {
         resultado = new { correcto = false };
     }
     return resultado;
 }
开发者ID:eldersontc,项目名称:xyzsge,代码行数:15,代码来源:invUnidad.aspx.cs


示例8: Agregar

 public static object Agregar(Sesion sesion, Unidad unidad)
 {
     object resultado = new { };
     try
     {
         blUnidad blUnidad = new blUnidad(sesion);
         blUnidad.Agregar(unidad);
         resultado = new { correcto = true };
     }
     catch (Exception)
     {
         resultado = new { correcto = false };
     }
     return resultado;
 }
开发者ID:eldersontc,项目名称:xyzsge,代码行数:15,代码来源:invUnidad.aspx.cs


示例9: Agregar

 public static object Agregar(Sesion sesion, Reporte reporte)
 {
     object resultado = new { };
     try
     {
         blReporte blReporte = new blReporte(sesion);
         blReporte.Agregar(reporte);
         resultado = new { correcto = true };
     }
     catch (Exception)
     {
         resultado = new { correcto = false };
     }
     return resultado;
 }
开发者ID:eldersontc,项目名称:xyzsge,代码行数:15,代码来源:admReporte.aspx.cs


示例10: ObtenerTodos

 public static object ObtenerTodos(Sesion sesion)
 {
     object resultado = new { };
     try
     {
         blIngInventario blIngInventario = new blIngInventario(sesion);
         IList<IngInventario> ingresos = blIngInventario.ObtenerTodos();
         resultado = new { correcto = true, ingresos = ingresos };
     }
     catch (Exception)
     {
         resultado = new { correcto = false };
     }
     return resultado;
 }
开发者ID:eldersontc,项目名称:xyzsge,代码行数:15,代码来源:invIngInventario.aspx.cs


示例11: Agregar

 public static object Agregar(Sesion sesion, IngInventario ingreso)
 {
     object resultado = new { };
     try
     {
         blIngInventario blIngInventario = new blIngInventario(sesion);
         blIngInventario.Agregar(ingreso);
         resultado = new { correcto = true };
     }
     catch (Exception)
     {
         resultado = new { correcto = false };
     }
     return resultado;
 }
开发者ID:eldersontc,项目名称:xyzsge,代码行数:15,代码来源:invIngInventario.aspx.cs


示例12: ObtenerActivos

 public static object ObtenerActivos(Sesion sesion)
 {
     object resultado = new { };
     try
     {
         blLpMaterial blLpMaterial = new blLpMaterial(sesion);
         IList<LpMaterial> listaes = blLpMaterial.ObtenerActivos();
         resultado = new { correcto = true, listaes = listaes };
     }
     catch (Exception)
     {
         resultado = new { correcto = false };
     }
     return resultado;
 }
开发者ID:eldersontc,项目名称:xyzsge,代码行数:15,代码来源:venLpMaterial.aspx.cs


示例13: Eliminar

 public static object Eliminar(Sesion sesion, int idLpMaterial)
 {
     object resultado = new { };
     try
     {
         blLpMaterial blLpMaterial = new blLpMaterial(sesion);
         blLpMaterial.Eliminar(idLpMaterial);
         resultado = new { correcto = true };
     }
     catch (Exception)
     {
         resultado = new { correcto = false };
     }
     return resultado;
 }
开发者ID:eldersontc,项目名称:xyzsge,代码行数:15,代码来源:venLpMaterial.aspx.cs


示例14: Agregar

 public static object Agregar(Sesion sesion, LpMaterial lista)
 {
     object resultado = new { };
     try
     {
         blLpMaterial blLpMaterial = new blLpMaterial(sesion);
         blLpMaterial.Agregar(lista);
         resultado = new { correcto = true };
     }
     catch (Exception)
     {
         resultado = new { correcto = false };
     }
     return resultado;
 }
开发者ID:eldersontc,项目名称:xyzsge,代码行数:15,代码来源:venLpMaterial.aspx.cs


示例15: ObtenerActivos

 public static object ObtenerActivos(Sesion sesion)
 {
     object resultado = new { };
     try
     {
         blNumeracion blNumeracion = new blNumeracion(sesion);
         IList<Numeracion> numeraciones = blNumeracion.ObtenerActivos();
         resultado = new { correcto = true, numeraciones = numeraciones };
     }
     catch (Exception)
     {
         resultado = new { correcto = false };
     }
     return resultado;
 }
开发者ID:eldersontc,项目名称:xyzsge,代码行数:15,代码来源:admNumeracion.aspx.cs


示例16: Agregar

 public static object Agregar(Sesion sesion, Almacen almacen)
 {
     object resultado = new { };
     try
     {
         blAlmacen blAlmacen = new blAlmacen(sesion);
         blAlmacen.Agregar(almacen);
         resultado = new { correcto = true };
     }
     catch (Exception)
     {
         resultado = new { correcto = false };
     }
     return resultado;
 }
开发者ID:eldersontc,项目名称:xyzsge,代码行数:15,代码来源:invAlmacen.aspx.cs


示例17: ObtenerActivos

 public static object ObtenerActivos(Sesion sesion)
 {
     object resultado = new { };
     try
     {
         blAlmacen blAlmacen = new blAlmacen(sesion);
         IList<Almacen> almacenes = blAlmacen.ObtenerActivos();
         resultado = new { correcto = true, almacenes = almacenes };
     }
     catch (Exception)
     {
         resultado = new { correcto = false };
     }
     return resultado;
 }
开发者ID:eldersontc,项目名称:xyzsge,代码行数:15,代码来源:invAlmacen.aspx.cs


示例18: Eliminar

 public static object Eliminar(Sesion sesion, int idReporte)
 {
     object resultado = new { };
     try
     {
         blReporte blReporte = new blReporte(sesion);
         blReporte.Eliminar(idReporte);
         resultado = new { correcto = true };
     }
     catch (Exception)
     {
         resultado = new { correcto = false };
     }
     return resultado;
 }
开发者ID:eldersontc,项目名称:xyzsge,代码行数:15,代码来源:admReporte.aspx.cs


示例19: Eliminar

 public static object Eliminar(Sesion sesion, int idUnidad)
 {
     object resultado = new { };
     try
     {
         blUnidad blUnidad = new blUnidad(sesion);
         blUnidad.Eliminar(idUnidad);
         resultado = new { correcto = true };
     }
     catch (Exception)
     {
         resultado = new { correcto = false };
     }
     return resultado;
 }
开发者ID:eldersontc,项目名称:xyzsge,代码行数:15,代码来源:invUnidad.aspx.cs


示例20: ObtenerPorId

 public static object ObtenerPorId(Sesion sesion, int idReporte)
 {
     object resultado = new { };
     try
     {
         blReporte blReporte = new blReporte(sesion);
         Reporte reporte = blReporte.ObtenerPorId(idReporte);
         resultado = new { correcto = true, reporte = reporte };
     }
     catch (Exception)
     {
         resultado = new { correcto = false };
     }
     return resultado;
 }
开发者ID:eldersontc,项目名称:xyzsge,代码行数:15,代码来源:admReporte.aspx.cs



注:本文中的SGE.Entidades.Administracion.Sesion类示例由纯净天空整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
C# Object.ENTResponse类代码示例发布时间:2022-05-26
下一篇:
C# Window.VideoMode类代码示例发布时间:2022-05-26
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap