Exportar a Word Foro y Matriz
git-tfs-id: [http://192.168.1.10:8080/tfs/AyA]$/SINORT;C207
This commit is contained in:
parent
15c9bac3de
commit
a4fbb30a0b
1 changed files with 1 additions and 0 deletions
|
|
@ -23,6 +23,7 @@ namespace AYA.SlnSinortModel.DAL.Sinort
|
|||
{
|
||||
int? Next_id = Conn.ComentariosProyecto.Max(t => (int?)t.IdComentarioProyecto);
|
||||
model.Comentario.IdComentarioProyecto = (Next_id == null) ? 1 : Next_id.Value + 1;
|
||||
model.Comentario.UsuarioSistema = model.UserName;
|
||||
model.Comentario.UsuarioCreacion = model.UserName;
|
||||
model.Comentario.FechaCreacion = DateTime.Now;
|
||||
Conn.ComentariosProyecto.Add(model.Comentario);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue