C# Linq SQL save List<Point> -
i have class point:
class point { public int x { get; set; } public int y { get; set; } public double value { get; set; } }
and class chart aggregates cca 1000 points.
[table(name = "chart")] class chart { public list<point> points { get; set; } }
i want efficiently save points database. don't need operation on top of points. there way how save points in single column? think way should more efficient creating new table 1000000 points. thx
look sqlbulkcopy
- it's not linq, allows push masses of data sql server more linq would.
Comments
Post a Comment