This project is read-only.

Creating entity

Entity has no sharepoint-specific fields like "SPFieldUrlValue".

There are two special field types:  

  • for reference (contains name and id) 
  • for person

Because of this, it is very simple to change aplication data source from MOSS to SQL, which could be the really hard task with different architecture.

public class Employee : EntityBase
    public string Name { getset; }
    public DateTime BirthDate { getset; }
    public bool? IsActive { getset; }
    public decimal Priority { getset; }

    public PersonInfo Superior { getset; } // special person field type 
    public List<LookUpItem> Divisions { getset; } // special entity reference field type

Last edited Apr 28, 2011 at 11:49 AM by Extreme, version 15


No comments yet.