c# - How can I read in data from a datebase through Domain Service and add the data into a observablecollection in Silverlight? -
how can read in info datebase through domain service , add together info observablecollection in silverlight? don't want every column in table, of them. want collect info somehow , collect som values loop.
edit code fill datagrid info database:
entityquery<material> query = c in _materialcontext.getmaterialquery() c.tillverkningsorderid.equals(1) orderby c.materialid select c; loadoperation<material> loadop = this._materialcontext.load(query); mymaterialgrid.itemssource = loadop.entities;
which works fine: https://www.dropbox.com/s/5j0o6p7m09ym3xn/skarmklipp_material.png
but want add together info observablecollection first. , want show columns materialid , enhet
c# silverlight observablecollection domainservices
No comments:
Post a Comment