public void Update(F6005 F6005) { using (var con = new SqlConnection(ConnectionString)) { con.Query <int>(UpdateSQL, F6005).SingleOrDefault(); } }
public void Export(F6005 F6005, string fileName) { if (F6005 == null) { throw new NullReferenceException(); } string xml = F6005.ToXML(_service.Societe, _service.Exercice); System.IO.File.WriteAllText(fileName, xml, Encoding.UTF8); }
public void Save(F6005 F6005) { if (F6005.Id < 1) { _service.LiassService.F6005Create(F6005); } else { _service.LiassService.F6005Update(F6005); } }