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 -

javascript - Get parameter of GET request -

javascript - Twitter Bootstrap - how to add some more margin between tooltip popup and element -