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

Naming Collections

    XMLWordPrintableJSON

Details

    • Icon: New Feature New Feature
    • Resolution: Duplicate
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Feature Request

    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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: