我有成员:
private static WeightScaleEntities m_WeightScaleEntities = new WeightScaleEntities();
This member holdes my data base. This member contain User_Activity table I want to delete rows from that table by given id.
我删除以下几句:
var deleteUserActivities = from details in m_WeightScaleEntities.User_Activity
where details.Id == i_UserActivityId
select details;
Now, i want to delete this rows from the data base table. How?