C# mongodb serialize an object with a generic property -


i have class 1 property of generic type,

public class factorrecord<t> {     public string id { get; set; }     public string factorname { get; set; }     public t factorvalue { get; set; }     public datetime datetimestamp { get; set; } } 

from question mongodb serialize generic types (classes), know how serialize generic object, not sure how serialize in case in 1 property of generic type.


Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

How to get the ip address of VM and use it to configure SSH connection dynamically in Ansible -

javascript - Get parameter of GET request -