Uploaded image for project: 'OSAMES ORM'
  1. OSAMES ORM
  2. ORM-160

Paramètre mappingDictionariesContainerKey_ superflu quand on passe un type T

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.1.0
    • Fix Version/s: 0.2.0
    • Component/s: None
    • Labels:
      None

      Description

      Quand on passe un paramètre T dataObject_ il n'y a pas besoin de passer en plus string mappingDictionariesContainerKey_.

      En effet le dataObject_ porte l'information de la table associée, via cette méthode de MappingTools :

      Unable to find source-code formatter for language: csharp. Available languages are: actionscript, ada, applescript, bash, c, c#, c++, cpp, css, erlang, go, groovy, haskell, html, java, javascript, js, json, lua, none, nyan, objc, perl, php, python, r, rainbow, ruby, scala, sh, sql, swift, visualbasic, xml, yaml
      public static string GetTableName<T>(T dataObject_)
      

      Méthodes concernées : méthodes publiques uniquement, soit :

      DbToolsSelects SelectSingle<T>
        SelectSingleAllColumns<T>
        Select<T>
        SelectAllColumns<T>
      DbToolsInserts Insert<T>
      DbToolsUpdate Update<T> (2 méthodes)

        Attachments

          Activity

            People

            • Assignee:
              babs Barbara Post
              Reporter:
              babs Barbara Post
            • Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: