Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

how to save in mongo different name field than model? c#

public class MyClass 
{
    [BsonElement("sp")]
    public string SomeProperty { get; set; }
}
Source by mongodb.github.io #
 
PREVIOUS NEXT
Tagged: #save #mongo #field
ADD COMMENT
Topic
Name
6+6 =