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

Add a new constructor that take "baseClassMap" in BsonClassMap<TClass>

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 2.0.1
    • 2.2
    • BSON, Serialization
    • None
    • Fully Compatible

    Description

      I need to set a custom BaseClassMap creating a new ClassMap, but i need also to initialize a generic instance. BaseClassMap proeprty is accessibile only in get from BsonClassMap, but I'd like to set that value when I initialize a new BsonClassMap<TClass>.
      At now I'm injecting a value with Reflection, but it's not a safe solution.

      Attachments

        Activity

          People

            Unassigned Unassigned
            tmm360 Mirko Da Corte
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: