Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-3250

Comment on: "mongodb-ecosystem/tutorial/serialize-documents-with-the-csharp-driver.txt"

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: v1.3.4
    • Component/s: ecosystem
    • Environment:
    • Last comment by Customer:
      true
    • Actual Time:
      4

      Description

      hello,[syntax error in example:<MyClass)]

      If you want to control the creation of the class map you can provide your own initialization code in the form of a lambda expression:

      BsonClassMap.RegisterClassMap<MyClass)(cm => {
      cm.MapProperty(c => c.SomeProperty);
      cm.MapProperty(c => c.AnotherProperty);
      });

      =>(thanks you)

        Attachments

          Activity

            People

            Assignee:
            sam.kleinman Sam Kleinman (Inactive)
            Reporter:
            xgen-internal-docs Docs Collector User
            Participants:
            Last commenter:
            Jonathan Dahl Jonathan Dahl
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since reply:
              7 years, 27 weeks, 1 day ago
              Date of 1st Reply: