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

Popular posts from this blog

python - Scipy curvefit RuntimeError:Optimal parameters not found: Number of calls to function has reached maxfev = 1000 -

c# - How to add a new treeview at the selected node? -

java - netbeans "Please wait - classpath scanning in progress..." -