public int Incluir(string descricao, short? tipo, int codUsuarioInc) { var caracteristica = new Caracteristica() { Descricao = descricao, Tipo = tipo, DataCadastro = DateTime.Now, UsuarioInc = codUsuarioInc }; _repositorioDataContext.Caracteristicas.InsertOnSubmit(caracteristica); _repositorioDataContext.SubmitChanges(); return caracteristica.CodCaracteristica; }
partial void UpdateCaracteristica(Caracteristica instance);
partial void DeleteCaracteristica(Caracteristica instance);
partial void InsertCaracteristica(Caracteristica instance);