Click here to Skip to main content
15,896,063 members
Articles / Hosted Services / Azure

DataObjects.Net - ORM Framework for RAD - Introduction

Rate me:
Please Sign up or sign in to vote.
4.85/5 (15 votes)
7 Sep 2010CPOL11 min read 50.1K   1.1K   32  
Introduction into the ORM Framework DataObjects.Net from x-tensive
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="BaseEntity.cs" company="">
//   
// </copyright>
// <summary>
//   The base entity.
// </summary>
// --------------------------------------------------------------------------------------------------------------------

namespace DO4_Introduction.Model
{
    using System;

    using Xtensive.Storage;

    /// <summary>
    /// The base entity.
    /// </summary>
    [Serializable]
    [HierarchyRoot]
    public class BaseEntity : Entity
    {
        #region Properties

        /// <summary>
        /// Gets or sets BaseEntityData.
        /// </summary>
        [Field(Length = 100)]
        public string BaseEntityData { get; set; }

        /// <summary>
        /// Gets Id.
        /// </summary>
        [Field]
        [Key]
        public int Id { get; private set; }

        #endregion
    }
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
CEO
Germany Germany
I'm a Senior Software Consultant
Thomas Maierhofer Consulting

Comments and Discussions