

using System;
using System.Collections.Generic;

namespace DataProvider
{
    // Generated by Telerik OpenAccess
    // Used template: c:\program files\telerik\openaccess orm\sdk\IDEIntegrations\templates\PCClassGeneration\cs\templates\classgen\class\partialdesignerdefault.vm
    [Telerik.OpenAccess.Persistent(IdentityField = "messageId")]
    public partial class Message
    {
        private int messageId; // pk 

        private DateTime date1;

        private string receiver;

        private string sender;

        private string text;

        private string title;

        private RadProduct radProduct;

        private User user;





    }
}

#region main class file contents
/*


using System;
using System.Collections.Generic;

namespace DataProvider 
{
    //Generated by Telerik OpenAccess
    public partial class Message 
    {
        //The 'no-args' constructor required by OpenAccess. 
        public Message() 
        {
        }
    
        [Telerik.OpenAccess.FieldAlias("messageId")]
        public int MessageId
        {
            get { return messageId; }
            set { this.messageId = value; }
        }
 
        [Telerik.OpenAccess.FieldAlias("date1")]
        public DateTime Date1
        {
            get { return date1; }
            set { this.date1 = value; }
        }
 
        [Telerik.OpenAccess.FieldAlias("receiver")]
        public string Receiver
        {
            get { return receiver; }
            set { this.receiver = value; }
        }
 
        [Telerik.OpenAccess.FieldAlias("sender")]
        public string Sender
        {
            get { return sender; }
            set { this.sender = value; }
        }
 
        [Telerik.OpenAccess.FieldAlias("text")]
        public string Text
        {
            get { return text; }
            set { this.text = value; }
        }
 
        [Telerik.OpenAccess.FieldAlias("title")]
        public string Title
        {
            get { return title; }
            set { this.title = value; }
        }
 
        [Telerik.OpenAccess.FieldAlias("radProduct")]
        public RadProduct RadProduct
        {
            get { return radProduct; }
            set { this.radProduct = value; }
        }
 
        [Telerik.OpenAccess.FieldAlias("user")]
        public User User
        {
            get { return user; }
            set { this.user = value; }
        }
 

    }
}
*/
#endregion //main class file contents
