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

Naming Collections

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

      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") }

      );;

            Assignee:
            Unassigned Unassigned
            Reporter:
            ammd2013 ali khan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: