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