how i opening xml information buttress controlling linq xml?


i have xml buttress table:



<keywords>
<keyword name="first name" value="|firstname|" display="jack" />
<keyword name="last name" value="|lastname|" display="jones" />
<keyword name="city" value="|city|" display="anytown" />
<keyword name="state" value="|state|" display="md" />
</keywords>


i'm removing record out list controlling linq sql around this:



generatedarticle ga = db.generatedarticles.single(p => p.generatedarticleid == generatedarticleid);


that works, i generatedarticle vigilant only fine.



i'd transport by information articlekeywords field, xml. i started doing this:



var keywords = k ga.articlekeywords.elements("keywords")
name k;

foreach (var keyword keywords)
{
//what goes here?
}


i'm 100% certain i'm removing information correctly. i need assistance repremand syntax value arrangement out xml field.



Comments

Popular posts from this blog

list macos calm editors formula editors

how hibernate @any-related annotations?

why does floated <input> control floated component slip over too distant right ie7, nonetheless firefox?