This project is read-only.
Rapid entity allows you to map just about anything as persistable. Even your pages, application forms, custom controls are all persist able by rapid entity (So far they are mapped with rapid attributes.

An example below shows how an application form is mapped with rapid entity and persisted into the data store.

    public partial class PersistableForm : Form
        public PersistableForm()

        [Key("Id", AutoKey = true)]
        public virtual long Id { get; set; }

        [Field("ItemName", false, true)]
        public virtual string ItemName { get; set; }

        [Field("Price", false, true)]
        public virtual double Price { get; set; }

        private void button1_Click(object sender, EventArgs e)
            using (EntityManager manager = new EntityManager())
                ItemName = this.txtProductName.Text;
                Price = double.Parse(this.txtPrice.Text);


We are making several efforts on this area to ensure that form controls like TextBoxes, comboboxes can be mapped as well. This approach may introduce another Manager :: called UIManager. This is just a debate, we are still looking at best practices in this area.

Last edited Feb 23, 2010 at 3:11 PM by ahmedsalako, version 6


No comments yet.