Here, I am using MVVM in WPF and I read that it contains poco. I also read that is contains vanilla property.
public class AccountCategory : IDataErrorInfo, IValidable
{
#region State Properties
public int Id { get; set; }
public string Name { get; set; }
public string Description { get; set; }
public AccountCategory ParentCategory { get; set; }
public bool Builtin { get; set; }
}
What is that? Is it Microsoft entity frame work for linq to sql? Why?
I would guess they are referring to Entity Framework. POCO means “Plain old CLR object”. Some ORMs require entities to inherit from a specific base class, use special attributes on classes and properties, and other methods in order to map an object to the database.
Linq To SQL requires you to use classes generated by the designer, which uses attributes and things like that.
The “POCO” approach refers to the fact that an ORM can map any object, not requiring special attributes or base types. Therefore, I would assume they are talking about EF since 4+ supports POCO mapping.