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