Article information
Article relates to
Telerik OpenAccess ORM
Created by
Alexander Filipov
Last modified
April 9, 2012
Last modified by
Pencho Popadiyn
using
(EntitiesModel dbContext =
new
EntitiesModel())
{
Category category = dbContext.Categories.FirstOrDefault();
category.Picture[1] = 0;
dbContext.SaveChanges();
}
dbContext.MakeDirty(category,
"Picture"
);
category.Picture =
byte
[] { 0, 1, 2 };
Resources Buy Try