// ------------------------------------------------------------------------------
// This is autogenerated code from the CodeFirst template.  This file will be
// automatically re-generated from the EDMX when it is saved or the .tt is run.
// You will usually want to first generate your CodeFirst classes from your model
// and then make all subsequent modifications manually.  To avoid losing your
// changes, rename and move this code file so that it will not be re-generated.
// 
//    Generated at: 9/4/2012 7:04:45 PM
//    DevForce version: 6.1.7.1
//    Template version: 2.1.4
// ------------------------------------------------------------------------------
using System;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Runtime.Serialization;
using IbEm   = IdeaBlade.EntityModel;
using IbCore = IdeaBlade.Core;
using IbVal  = IdeaBlade.Validation;
using IbAop  = IdeaBlade.Aop;

namespace iRely.Model { 

  #region tblSMSecurityModuleList class

  /// <summary>The auto-generated tblSMSecurityModuleList class. </summary>
  
  
  [Table("tblSMSecurityModuleList", Schema="dbo")]
  public partial class tblSMSecurityModuleList : iRely.BaseModel.iRelyEntity {

    #region Data Properties

    /// <summary>Gets or sets the intSecurityModuleListID. </summary>
    [Key]
    [DataMember]
    [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
    [Column("intSecurityModuleListID")]
    [Bindable(true, BindingDirection.TwoWay)]
    [Editable(true)]
    [Display(Name="intSecurityModuleListID", AutoGenerateField=true)]
    [IbVal.RequiredValueVerifier( ErrorMessageResourceName="tblSMSecurityModuleList_intSecurityModuleListID")]
    public int intSecurityModuleListID {
      get; set;
    }

    /// <summary>Gets or sets the strModuleName. </summary>
    [DataMember]
    [Column("strModuleName")]
    [Bindable(true, BindingDirection.TwoWay)]
    [Editable(true)]
    [Display(Name="strModuleName", AutoGenerateField=true)]
    [IbVal.StringLengthVerifier(MaxValue=50, IsRequired=true, ErrorMessageResourceName="tblSMSecurityModuleList_strModuleName")]
    public string strModuleName {
      get; set;
    }

    /// <summary>Gets or sets the strDisplayName. </summary>
    [DataMember]
    [Column("strDisplayName")]
    [Bindable(true, BindingDirection.TwoWay)]
    [Editable(true)]
    [Display(Name="strDisplayName", AutoGenerateField=true)]
    [IbVal.StringLengthVerifier(MaxValue=50, IsRequired=true, ErrorMessageResourceName="tblSMSecurityModuleList_strDisplayName")]
    public string strDisplayName {
      get; set;
    }

    
    #endregion Data Properties

    #region Navigation properties

    /// <summary>Gets the tblSMSecurityFormLists. </summary>
    [DataMember]
    [InverseProperty("tblSMSecurityModuleList")]
    [Bindable(false)]
    [Display(Name="tblSMSecurityFormLists", AutoGenerateField=false)]
    public IbEm.RelatedEntityList<tblSMSecurityFormList> tblSMSecurityFormLists {
      get; set;
    }

    /// <summary>Gets the tblSMSecurityReportLists. </summary>
    [DataMember]
    [InverseProperty("tblSMSecurityModuleList")]
    [Bindable(false)]
    [Display(Name="tblSMSecurityReportLists", AutoGenerateField=false)]
    public IbEm.RelatedEntityList<tblSMSecurityReportList> tblSMSecurityReportLists {
      get; set;
    }
    #endregion Navigation properties

    #region EntityPropertyNames
    public partial class EntityPropertyNames  {
      public const String intSecurityModuleListID = "intSecurityModuleListID";
      public const String strModuleName = "strModuleName";
      public const String strDisplayName = "strDisplayName";
      
      public const String tblSMSecurityFormLists = "tblSMSecurityFormLists";
      public const String tblSMSecurityReportLists = "tblSMSecurityReportLists";
    }
    #endregion EntityPropertyNames
  }
  #endregion tblSMSecurityModuleList class
}
