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