//-----------------------------------------------------
 public void FillStructureQuerySource(CEasyQuerySource source)
 {
     foreach (CInfoClasseDynamique info in DynamicClassAttribute.GetAllDynamicClass(typeof(TableAttribute)))
     {
         CTableDefinitionFramework table = new CTableDefinitionFramework(info.Classe);
         source.AddTableUniquementPourObjetConnexion(table);
     }
 }
        //---------------------------------------
        public DataTable GetData(ITableDefinition tableDefinition, params string[] strIdsColonnesSource)
        {
            CTableDefinitionFramework table = tableDefinition as CTableDefinitionFramework;

            if (table != null)
            {
                CResultAErreur result = table.GetDonneesSource(null, strIdsColonnesSource);
                if (result)
                {
                    return(result.Data as DataTable);
                }
            }
            return(null);
        }