how emanate unfamiliar pivotal family entity framework?


i wish emanate new quarrel database list integrate unfamiliar pivotal family i haven't means hoop method calls need made. i have far:



db.models.order method = db.models.order.createorder( apple );
order.customerreference.attach( ( c db.customer where c.id == custid name c ).first() );
db.savechanges();


the formula unwell second line there, saying:




attach current operation when
source vigilant compared this
associated finish an added, deleted,
removed state. objects loaded
controlling notracking combine choice are
always detached.




any ideas?



Comments

Popular posts from this blog

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

grails record upload problems

how i emanate permitted url asp.net mvc?