问题
I am writing mapping for the class with Fluent Nhibernate:
public class UniqueFeaturesSet : IEntity
{
public UniqueFeaturesSet(List<List<double>> mfcc)
{
MFCC = mfcc;
}
public virtual List<List<double>> MFCC { get; set; }
public virtual int Id { get; set; }
}
How to map List<List<double>>
?
回答1:
It is not possible to map nested collections with [Fluent][N]Hibernate. The inner collection needs to be in an own class.
来源:https://stackoverflow.com/questions/10872334/fluent-nhibernate-map-list-of-lists