public void Update(F6301 f6301)
 {
     using (var con = new SqlConnection(ConnectionString))
     {
         con.Query <int>(UpdateSQL, f6301).SingleOrDefault();
     }
 }
        public void Export(F6301 F6301, string fileName)
        {
            if (F6301 == null)
            {
                throw new NullReferenceException();
            }
            string xml = F6301.ToXML(_service.Societe, _service.Exercice);

            System.IO.File.WriteAllText(fileName, xml, Encoding.UTF8);
        }
 public void Save(F6301 F6301)
 {
     if (F6301.Id < 1)
     {
         _service.LiassService.F6301Create(F6301);
     }
     else
     {
         _service.LiassService.F6301Update(F6301);
     }
 }