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