git-tfs-id: [http://192.168.1.10:8080/tfs/AyA]$/SINORT;C142
This commit is contained in:
parent
055a284db5
commit
e0714d3ebc
8 changed files with 18 additions and 8 deletions
|
|
@ -6,6 +6,7 @@ using AYA.SlnSinortModel.Entidades;
|
|||
using AYA.SlnSinortModel.Sinort;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Configuration;
|
||||
using System.Data;
|
||||
using System.DirectoryServices;
|
||||
using System.DirectoryServices.ActiveDirectory;
|
||||
|
|
@ -242,13 +243,11 @@ namespace AYA.SlnSinort.WCF
|
|||
file = model.Nombre.Replace(" ", "_");
|
||||
fileDirectory = fileDirectory + "\\" + file;
|
||||
|
||||
|
||||
|
||||
|
||||
if (File.Exists(fileDirectory))
|
||||
{
|
||||
File.Delete(fileDirectory);
|
||||
}
|
||||
model.CodigoRespuesta = EnumTipoCodigoRespuesta.EXITOSO;
|
||||
|
||||
}
|
||||
catch (Exception ex)
|
||||
|
|
@ -258,8 +257,6 @@ namespace AYA.SlnSinort.WCF
|
|||
}
|
||||
return model;
|
||||
}
|
||||
|
||||
|
||||
#endregion
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ namespace webAgenciaVirtual
|
|||
{
|
||||
try
|
||||
{
|
||||
if (context.Request.QueryString["carpeta"] != null)
|
||||
if (context.Request.QueryString["tipo"] != null && context.Request.QueryString["id"] != null && context.Request.QueryString["carpeta"] != null)
|
||||
{
|
||||
string pathrefer = context.Request.UrlReferrer.ToString();
|
||||
//string Serverpath = HttpContext.Current.Server.MapPath("DocumentosSINORT");
|
||||
|
|
|
|||
|
|
@ -27,6 +27,8 @@ namespace AYA.SlnSinortModel.Entidades
|
|||
{
|
||||
|
||||
public string Nombre { get; set; }
|
||||
public string Tipo { get; set; }
|
||||
public string Id { get; set; }
|
||||
public string Carpeta { get; set; }
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -18,6 +18,9 @@ namespace AYA.SlnSinortModel.Sinort
|
|||
[StringLength(500)]
|
||||
public string Descripcion { get; set; }
|
||||
|
||||
[Column(TypeName = "ntext")]
|
||||
public string DescripcionLarga { get; set; }
|
||||
|
||||
public bool? Estado { get; set; }
|
||||
|
||||
public DateTime? FechaCreacion { get; set; }
|
||||
|
|
|
|||
|
|
@ -22,6 +22,9 @@ namespace AYA.SlnSinortModel.Sinort
|
|||
[StringLength(500)]
|
||||
public string Descripcion { get; set; }
|
||||
|
||||
[Column(TypeName = "ntext")]
|
||||
public string DescripcionLarga { get; set; }
|
||||
|
||||
public bool? Estado { get; set; }
|
||||
|
||||
public DateTime? FechaCreacion { get; set; }
|
||||
|
|
|
|||
|
|
@ -16,6 +16,9 @@ namespace AYA.SlnSinortModel.Sinort
|
|||
[StringLength(500)]
|
||||
public string Descripcion { get; set; }
|
||||
|
||||
[Column(TypeName = "ntext")]
|
||||
public string DescripcionLarga { get; set; }
|
||||
|
||||
public bool? Estado { get; set; }
|
||||
|
||||
public DateTime? FechaCreacion { get; set; }
|
||||
|
|
|
|||
|
|
@ -22,6 +22,9 @@ namespace AYA.SlnSinortModel.Sinort
|
|||
[StringLength(500)]
|
||||
public string Descripcion { get; set; }
|
||||
|
||||
[Column(TypeName = "ntext")]
|
||||
public string DescripcionLarga { get; set; }
|
||||
|
||||
public bool? Estado { get; set; }
|
||||
|
||||
public DateTime? FechaCreacion { get; set; }
|
||||
|
|
|
|||
|
|
@ -9,7 +9,6 @@ namespace AYA.SlnSinortModel.Sinort
|
|||
public partial class SinortContex : Contex
|
||||
{
|
||||
|
||||
|
||||
public virtual DbSet<Aplicacion> Aplicacion { get; set; }
|
||||
public virtual DbSet<Categoria> Categoria { get; set; }
|
||||
public virtual DbSet<Contenido> Contenido { get; set; }
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue