Uploaded image for project: 'C# Driver'
  1. C# Driver
  2. CSHARP-833

Naming Collections

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Feature Request
    • Labels:

      Description

      It would be useful to have a mechanism for naming of the collection from RegisterClassMap.

      So we could do this for example:
      BsonClassMap.RegisterClassMap<Car>(cm =>

      { cm.AutoMap(); cm.CollectionName("cars") }

      );;

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: