Advertisement
Guest User

spmetal-entities

a guest
Jul 8th, 2011
329
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 161.24 KB | None | 0 0
  1. //------------------------------------------------------------------------------
  2. // <auto-generated>
  3. //     This code was generated by a tool.
  4. //     Runtime Version:2.0.50727.4961
  5. //
  6. //     Changes to this file may cause incorrect behavior and will be lost if
  7. //     the code is regenerated.
  8. // </auto-generated>
  9. //------------------------------------------------------------------------------
  10.  
  11. namespace SharePoint.NsnTube3.SPMetalObjectModels {
  12.     using System;
  13.    
  14.    
  15.     public partial class ObjectModelsDataContext : Microsoft.SharePoint.Linq.DataContext {
  16.        
  17.         #region Extensibility Method Definitions
  18.         partial void OnCreated();
  19.         #endregion
  20.        
  21.         public ObjectModelsDataContext(string requestUrl) :
  22.                 base(requestUrl) {
  23.             this.OnCreated();
  24.         }
  25.        
  26.         /// <summary>
  27.         /// Use this list to track upcoming events, status updates or other team news.
  28.         /// </summary>
  29.         [Microsoft.SharePoint.Linq.ListAttribute(Name="Announcements")]
  30.         public Microsoft.SharePoint.Linq.EntityList<Announcement> Announcements {
  31.             get {
  32.                 return this.GetList<Announcement>("Announcements");
  33.             }
  34.         }
  35.        
  36.         /// <summary>
  37.         /// Use the Calendar list to keep informed of upcoming meetings, deadlines, and other important events.
  38.         /// </summary>
  39.         [Microsoft.SharePoint.Linq.ListAttribute(Name="Calendar")]
  40.         public Microsoft.SharePoint.Linq.EntityList<CalendarEvent> Calendar {
  41.             get {
  42.                 return this.GetList<CalendarEvent>("Calendar");
  43.             }
  44.         }
  45.        
  46.         /// <summary>
  47.         /// Share a document with the team by adding it to this document library.
  48.         /// </summary>
  49.         [Microsoft.SharePoint.Linq.ListAttribute(Name="ConfigFiles")]
  50.         public Microsoft.SharePoint.Linq.EntityList<Document> ConfigFiles {
  51.             get {
  52.                 return this.GetList<Document>("ConfigFiles");
  53.             }
  54.         }
  55.        
  56.         /// <summary>
  57.         /// This Document library has the templates to create Web Analytics custom reports for this site collection
  58.         /// </summary>
  59.         [Microsoft.SharePoint.Linq.ListAttribute(Name="Customized Reports")]
  60.         public Microsoft.SharePoint.Linq.EntityList<Document> CustomizedReports {
  61.             get {
  62.                 return this.GetList<Document>("Customized Reports");
  63.             }
  64.         }
  65.        
  66.         /// <summary>
  67.         /// Encoding Queue List Instance
  68.         /// </summary>
  69.         [Microsoft.SharePoint.Linq.ListAttribute(Name="Encoding Queue List")]
  70.         public Microsoft.SharePoint.Linq.EntityList<Item> EncodingQueueList {
  71.             get {
  72.                 return this.GetList<Item>("Encoding Queue List");
  73.             }
  74.         }
  75.        
  76.         /// <summary>
  77.         /// Lisf of all possible encoding statuses Instance
  78.         /// </summary>
  79.         [Microsoft.SharePoint.Linq.ListAttribute(Name="Encoding Status List")]
  80.         public Microsoft.SharePoint.Linq.EntityList<Item> EncodingStatusList {
  81.             get {
  82.                 return this.GetList<Item>("Encoding Status List");
  83.             }
  84.         }
  85.        
  86.         /// <summary>
  87.         /// This library contains administrator-approved form templates that were activated to this site collection.
  88.         /// </summary>
  89.         [Microsoft.SharePoint.Linq.ListAttribute(Name="Form Templates")]
  90.         public Microsoft.SharePoint.Linq.EntityList<Item> FormTemplates {
  91.             get {
  92.                 return this.GetList<Item>("Form Templates");
  93.             }
  94.         }
  95.        
  96.         /// <summary>
  97.         /// Global Settings List Instance
  98.         /// </summary>
  99.         [Microsoft.SharePoint.Linq.ListAttribute(Name="Global Settings List")]
  100.         public Microsoft.SharePoint.Linq.EntityList<Item> GlobalSettingsList {
  101.             get {
  102.                 return this.GetList<Item>("Global Settings List");
  103.             }
  104.         }
  105.        
  106.         /// <summary>
  107.         /// Use the Links list for links to Web pages that your team members will find interesting or useful.
  108.         /// </summary>
  109.         [Microsoft.SharePoint.Linq.ListAttribute(Name="Links")]
  110.         public Microsoft.SharePoint.Linq.EntityList<Link> Links {
  111.             get {
  112.                 return this.GetList<Link>("Links");
  113.             }
  114.         }
  115.        
  116.         /// <summary>
  117.         /// A List of Playlists
  118.         /// </summary>
  119.         [Microsoft.SharePoint.Linq.ListAttribute(Name="PlayList List")]
  120.         public Microsoft.SharePoint.Linq.EntityList<Item> PlayListList {
  121.             get {
  122.                 return this.GetList<Item>("PlayList List");
  123.             }
  124.         }
  125.        
  126.         /// <summary>
  127.         /// A list of playlist items
  128.         /// </summary>
  129.         [Microsoft.SharePoint.Linq.ListAttribute(Name="PlayListItem List")]
  130.         public Microsoft.SharePoint.Linq.EntityList<Item> PlayListItemList {
  131.             get {
  132.                 return this.GetList<Item>("PlayListItem List");
  133.             }
  134.         }
  135.        
  136.         /// <summary>
  137.         /// Priority List Instance
  138.         /// </summary>
  139.         [Microsoft.SharePoint.Linq.ListAttribute(Name="Priority List")]
  140.         public Microsoft.SharePoint.Linq.EntityList<Item> PriorityList {
  141.             get {
  142.                 return this.GetList<Item>("Priority List");
  143.             }
  144.         }
  145.        
  146.         /// <summary>
  147.         /// Share a document with the team by adding it to this document library.
  148.         /// </summary>
  149.         [Microsoft.SharePoint.Linq.ListAttribute(Name="Shared Documents")]
  150.         public Microsoft.SharePoint.Linq.EntityList<Document> SharedDocuments {
  151.             get {
  152.                 return this.GetList<Document>("Shared Documents");
  153.             }
  154.         }
  155.        
  156.         /// <summary>
  157.         /// Use this library to store files which are included on pages within this site, such as images on Wiki pages.
  158.         /// </summary>
  159.         [Microsoft.SharePoint.Linq.ListAttribute(Name="Site Assets")]
  160.         public Microsoft.SharePoint.Linq.EntityList<Document> SiteAssets {
  161.             get {
  162.                 return this.GetList<Document>("Site Assets");
  163.             }
  164.         }
  165.        
  166.         [Microsoft.SharePoint.Linq.ListAttribute(Name="Site Collection Documents")]
  167.         public Microsoft.SharePoint.Linq.EntityList<Document> SiteCollectionDocuments {
  168.             get {
  169.                 return this.GetList<Document>("Site Collection Documents");
  170.             }
  171.         }
  172.        
  173.         /// <summary>
  174.         /// Use this library to create and store pages on this site.
  175.         /// </summary>
  176.         [Microsoft.SharePoint.Linq.ListAttribute(Name="Site Pages")]
  177.         public Microsoft.SharePoint.Linq.EntityList<WikiPage> SitePages {
  178.             get {
  179.                 return this.GetList<WikiPage>("Site Pages");
  180.             }
  181.         }
  182.        
  183.         [Microsoft.SharePoint.Linq.ListAttribute(Name="SiteTemplates")]
  184.         public Microsoft.SharePoint.Linq.EntityList<Document> SiteTemplates {
  185.             get {
  186.                 return this.GetList<Document>("SiteTemplates");
  187.             }
  188.         }
  189.        
  190.         /// <summary>
  191.         /// Use the style library to store style sheets, such as CSS or XSL files. The style sheets in this gallery can be used by this site or any of its subsites.
  192.         /// </summary>
  193.         [Microsoft.SharePoint.Linq.ListAttribute(Name="Style Library")]
  194.         public Microsoft.SharePoint.Linq.EntityList<Document> StyleLibrary {
  195.             get {
  196.                 return this.GetList<Document>("Style Library");
  197.             }
  198.         }
  199.        
  200.         /// <summary>
  201.         /// Use the Tasks list to keep track of work that you or your team needs to complete.
  202.         /// </summary>
  203.         [Microsoft.SharePoint.Linq.ListAttribute(Name="Tasks")]
  204.         public Microsoft.SharePoint.Linq.EntityList<Item> Tasks {
  205.             get {
  206.                 return this.GetList<Item>("Tasks");
  207.             }
  208.         }
  209.        
  210.         /// <summary>
  211.         /// Use the Team Discussion list to hold newsgroup-style discussions on topics relevant to your team.
  212.         /// </summary>
  213.         [Microsoft.SharePoint.Linq.ListAttribute(Name="Team Discussion")]
  214.         public Microsoft.SharePoint.Linq.EntityList<Item> TeamDiscussion {
  215.             get {
  216.                 return this.GetList<Item>("Team Discussion");
  217.             }
  218.         }
  219.        
  220.         /// <summary>
  221.         /// Video Category List Instance
  222.         /// </summary>
  223.         [Microsoft.SharePoint.Linq.ListAttribute(Name="Video Category List")]
  224.         public Microsoft.SharePoint.Linq.EntityList<Item> VideoCategoryList {
  225.             get {
  226.                 return this.GetList<Item>("Video Category List");
  227.             }
  228.         }
  229.        
  230.         /// <summary>
  231.         /// A list of video comments
  232.         /// </summary>
  233.         [Microsoft.SharePoint.Linq.ListAttribute(Name="Video Comments List")]
  234.         public Microsoft.SharePoint.Linq.EntityList<Item> VideoCommentsList {
  235.             get {
  236.                 return this.GetList<Item>("Video Comments List");
  237.             }
  238.         }
  239.        
  240.         /// <summary>
  241.         /// My Videos List Instance
  242.         /// </summary>
  243.         [Microsoft.SharePoint.Linq.ListAttribute(Name="Video List")]
  244.         public Microsoft.SharePoint.Linq.EntityList<Item> VideoList {
  245.             get {
  246.                 return this.GetList<Item>("Video List");
  247.             }
  248.         }
  249.        
  250.         /// <summary>
  251.         /// A list of video qualities available for each video
  252.         /// </summary>
  253.         [Microsoft.SharePoint.Linq.ListAttribute(Name="Video Quality List")]
  254.         public Microsoft.SharePoint.Linq.EntityList<Item> VideoQualityList {
  255.             get {
  256.                 return this.GetList<Item>("Video Quality List");
  257.             }
  258.         }
  259.        
  260.         /// <summary>
  261.         /// Video Thumbnail List Instance
  262.         /// </summary>
  263.         [Microsoft.SharePoint.Linq.ListAttribute(Name="Video Thumbnail List")]
  264.         public Microsoft.SharePoint.Linq.EntityList<Item> VideoThumbnailList {
  265.             get {
  266.                 return this.GetList<Item>("Video Thumbnail List");
  267.             }
  268.         }
  269.        
  270.         /// <summary>
  271.         /// VideoItem Data List Instance
  272.         /// </summary>
  273.         [Microsoft.SharePoint.Linq.ListAttribute(Name="VideoItem Data List")]
  274.         public Microsoft.SharePoint.Linq.EntityList<Item> VideoItemDataList {
  275.             get {
  276.                 return this.GetList<Item>("VideoItem Data List");
  277.             }
  278.         }
  279.        
  280.         [Microsoft.SharePoint.Linq.ListAttribute(Name="workspaces")]
  281.         public Microsoft.SharePoint.Linq.EntityList<Item> Workspaces {
  282.             get {
  283.                 return this.GetList<Item>("workspaces");
  284.             }
  285.         }
  286.     }
  287.    
  288.     /// <summary>
  289.     /// Create a new list item.
  290.     /// </summary>
  291.     [Microsoft.SharePoint.Linq.ContentTypeAttribute(Name="Item", Id="0x01")]
  292.     [Microsoft.SharePoint.Linq.DerivedEntityClassAttribute(Type=typeof(Announcement))]
  293.     [Microsoft.SharePoint.Linq.DerivedEntityClassAttribute(Type=typeof(Folder))]
  294.     [Microsoft.SharePoint.Linq.DerivedEntityClassAttribute(Type=typeof(Event))]
  295.     [Microsoft.SharePoint.Linq.DerivedEntityClassAttribute(Type=typeof(Document))]
  296.     [Microsoft.SharePoint.Linq.DerivedEntityClassAttribute(Type=typeof(EncodingQueue))]
  297.     [Microsoft.SharePoint.Linq.DerivedEntityClassAttribute(Type=typeof(GlobalSettings))]
  298.     [Microsoft.SharePoint.Linq.DerivedEntityClassAttribute(Type=typeof(Link))]
  299.     [Microsoft.SharePoint.Linq.DerivedEntityClassAttribute(Type=typeof(PlayList))]
  300.     [Microsoft.SharePoint.Linq.DerivedEntityClassAttribute(Type=typeof(PlayListItem))]
  301.     [Microsoft.SharePoint.Linq.DerivedEntityClassAttribute(Type=typeof(EncodingPriorityItem))]
  302.     [Microsoft.SharePoint.Linq.DerivedEntityClassAttribute(Type=typeof(Task))]
  303.     [Microsoft.SharePoint.Linq.DerivedEntityClassAttribute(Type=typeof(Message))]
  304.     [Microsoft.SharePoint.Linq.DerivedEntityClassAttribute(Type=typeof(VideoCategoryItem))]
  305.     [Microsoft.SharePoint.Linq.DerivedEntityClassAttribute(Type=typeof(VideoCommentItem))]
  306.     [Microsoft.SharePoint.Linq.DerivedEntityClassAttribute(Type=typeof(VideoItem))]
  307.     [Microsoft.SharePoint.Linq.DerivedEntityClassAttribute(Type=typeof(VideoQualityItem))]
  308.     [Microsoft.SharePoint.Linq.DerivedEntityClassAttribute(Type=typeof(VideoThumbnailItem))]
  309.     [Microsoft.SharePoint.Linq.DerivedEntityClassAttribute(Type=typeof(VideoItemDataItem))]
  310.     [Microsoft.SharePoint.Linq.DerivedEntityClassAttribute(Type=typeof(WorkspacesTeam))]
  311.     [Microsoft.SharePoint.Linq.DerivedEntityClassAttribute(Type=typeof(WorkspacesProject))]
  312.     [Microsoft.SharePoint.Linq.DerivedEntityClassAttribute(Type=typeof(WorkspacesGeneric))]
  313.     [Microsoft.SharePoint.Linq.DerivedEntityClassAttribute(Type=typeof(WorkspacesBlog))]
  314.     [System.Runtime.Serialization.DataContractAttribute()]
  315.     public partial class Item : Microsoft.SharePoint.Linq.ITrackEntityState, Microsoft.SharePoint.Linq.ITrackOriginalValues, System.ComponentModel.INotifyPropertyChanged, System.ComponentModel.INotifyPropertyChanging {
  316.        
  317.         [System.Runtime.Serialization.DataMemberAttribute()]
  318.         private System.Nullable<int> _id;
  319.        
  320.         [System.Runtime.Serialization.DataMemberAttribute()]
  321.         private System.Nullable<int> _version;
  322.        
  323.         [System.Runtime.Serialization.DataMemberAttribute()]
  324.         private string _path;
  325.        
  326.         [System.Runtime.Serialization.DataMemberAttribute()]
  327.         private Microsoft.SharePoint.Linq.EntityState _entityState;
  328.        
  329.         [System.Runtime.Serialization.DataMemberAttribute()]
  330.         private System.Collections.Generic.IDictionary<string, object> _originalValues;
  331.        
  332.         [System.Runtime.Serialization.DataMemberAttribute()]
  333.         protected string _encodingQueueStatus;
  334.        
  335.         #region Extensibility Method Definitions
  336.         partial void OnLoaded();
  337.         partial void OnValidate();
  338.         partial void OnCreated();
  339.         #endregion
  340.  
  341.         Microsoft.SharePoint.Linq.EntityState Microsoft.SharePoint.Linq.ITrackEntityState.EntityState {
  342.             get {
  343.                 return this._entityState;
  344.             }
  345.             set {
  346.                 if ((value != this._entityState)) {
  347.                     this._entityState = value;
  348.                 }
  349.             }
  350.         }
  351.  
  352.         System.Collections.Generic.IDictionary<string, object> Microsoft.SharePoint.Linq.ITrackOriginalValues.OriginalValues {
  353.             get {
  354.                 if ((null == this._originalValues)) {
  355.                     this._originalValues = new System.Collections.Generic.Dictionary<string, object>();
  356.                 }
  357.                 return this._originalValues;
  358.             }
  359.         }
  360.        
  361.         public Item() {
  362.             this.Initialize();
  363.         }
  364.        
  365.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="ID", Storage="_id", ReadOnly=true, FieldType="Counter")]
  366.         public System.Nullable<int> Id {
  367.             get {
  368.                 return this._id;
  369.             }
  370.             set {
  371.                 if ((value != this._id)) {
  372.                     this.OnPropertyChanging("Id", this._id);
  373.                     this._id = value;
  374.                     this.OnPropertyChanged("Id");
  375.                 }
  376.             }
  377.         }
  378.        
  379.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="owshiddenversion", Storage="_version", ReadOnly=true, FieldType="Integer")]
  380.         public System.Nullable<int> Version {
  381.             get {
  382.                 return this._version;
  383.             }
  384.             set {
  385.                 if ((value != this._version)) {
  386.                     this.OnPropertyChanging("Version", this._version);
  387.                     this._version = value;
  388.                     this.OnPropertyChanged("Version");
  389.                 }
  390.             }
  391.         }
  392.        
  393.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="FileDirRef", Storage="_path", ReadOnly=true, FieldType="Lookup", IsLookupValue=true)]
  394.         public string Path {
  395.             get {
  396.                 return this._path;
  397.             }
  398.             set {
  399.                 if ((value != this._path)) {
  400.                     this.OnPropertyChanging("Path", this._path);
  401.                     this._path = value;
  402.                     this.OnPropertyChanged("Path");
  403.                 }
  404.             }
  405.         }
  406.        
  407.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="Title", Storage="_encodingQueueStatus", Required=true, FieldType="Text")]
  408.         public virtual string EncodingQueueStatus {
  409.             get {
  410.                 return this._encodingQueueStatus;
  411.             }
  412.             set {
  413.                 if ((value != this._encodingQueueStatus)) {
  414.                     this.OnPropertyChanging("EncodingQueueStatus", this._encodingQueueStatus);
  415.                     this._encodingQueueStatus = value;
  416.                     this.OnPropertyChanged("EncodingQueueStatus");
  417.                 }
  418.             }
  419.         }
  420.        
  421.         public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
  422.        
  423.         public event System.ComponentModel.PropertyChangingEventHandler PropertyChanging;
  424.        
  425.         private void Initialize() {
  426.             this.OnCreated();
  427.         }
  428.        
  429.         [System.Runtime.Serialization.OnDeserializedAttribute()]
  430.         private void OnDeserialized(System.Runtime.Serialization.StreamingContext context) {
  431.             this.Initialize();
  432.         }
  433.        
  434.         protected virtual void OnPropertyChanged(string propertyName) {
  435.             if ((null != this.PropertyChanged)) {
  436.                 this.PropertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
  437.             }
  438.         }
  439.        
  440.         protected virtual void OnPropertyChanging(string propertyName, object value) {
  441.             if ((null == this._originalValues)) {
  442.                 this._originalValues = new System.Collections.Generic.Dictionary<string, object>();
  443.             }
  444.             if ((false == this._originalValues.ContainsKey(propertyName))) {
  445.                 this._originalValues.Add(propertyName, value);
  446.             }
  447.             if ((null != this.PropertyChanging)) {
  448.                 this.PropertyChanging(this, new System.ComponentModel.PropertyChangingEventArgs(propertyName));
  449.             }
  450.         }
  451.     }
  452.    
  453.     /// <summary>
  454.     /// Create a new news item, status or other short piece of information.
  455.     /// </summary>
  456.     [Microsoft.SharePoint.Linq.ContentTypeAttribute(Name="Announcement", Id="0x0104")]
  457.     [System.Runtime.Serialization.DataContractAttribute()]
  458.     public partial class Announcement : Item {
  459.        
  460.         [System.Runtime.Serialization.DataMemberAttribute()]
  461.         private string _body;
  462.        
  463.         [System.Runtime.Serialization.DataMemberAttribute()]
  464.         private System.Nullable<System.DateTime> _expires;
  465.        
  466.         #region Extensibility Method Definitions
  467.         partial void OnLoaded();
  468.         partial void OnValidate();
  469.         partial void OnCreated();
  470.         #endregion
  471.        
  472.         public Announcement() {
  473.             this.Initialize();
  474.         }
  475.        
  476.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="Body", Storage="_body", FieldType="Note")]
  477.         public string Body {
  478.             get {
  479.                 return this._body;
  480.             }
  481.             set {
  482.                 if ((value != this._body)) {
  483.                     this.OnPropertyChanging("Body", this._body);
  484.                     this._body = value;
  485.                     this.OnPropertyChanged("Body");
  486.                 }
  487.             }
  488.         }
  489.        
  490.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="Expires", Storage="_expires", FieldType="DateTime")]
  491.         public System.Nullable<System.DateTime> Expires {
  492.             get {
  493.                 return this._expires;
  494.             }
  495.             set {
  496.                 if ((value != this._expires)) {
  497.                     this.OnPropertyChanging("Expires", this._expires);
  498.                     this._expires = value;
  499.                     this.OnPropertyChanged("Expires");
  500.                 }
  501.             }
  502.         }
  503.        
  504.         private void Initialize() {
  505.             this.OnCreated();
  506.         }
  507.        
  508.         [System.Runtime.Serialization.OnDeserializedAttribute()]
  509.         private void OnDeserialized(System.Runtime.Serialization.StreamingContext context) {
  510.             this.Initialize();
  511.         }
  512.     }
  513.    
  514.     /// <summary>
  515.     /// Create a new folder.
  516.     /// </summary>
  517.     [Microsoft.SharePoint.Linq.ContentTypeAttribute(Name="Folder", Id="0x0120")]
  518.     [Microsoft.SharePoint.Linq.DerivedEntityClassAttribute(Type=typeof(SummaryTask))]
  519.     [Microsoft.SharePoint.Linq.DerivedEntityClassAttribute(Type=typeof(Discussion))]
  520.     [Microsoft.SharePoint.Linq.DerivedEntityClassAttribute(Type=typeof(WorkspacesFolder))]
  521.     [System.Runtime.Serialization.DataContractAttribute()]
  522.     public partial class Folder : Item {
  523.        
  524.         [System.Runtime.Serialization.DataMemberAttribute()]
  525.         private string _name;
  526.        
  527.         [System.Runtime.Serialization.DataMemberAttribute()]
  528.         private System.Nullable<int> _itemChildCountId;
  529.        
  530.         [System.Runtime.Serialization.DataMemberAttribute()]
  531.         private string _itemChildCountItemChildCount;
  532.        
  533.         [System.Runtime.Serialization.DataMemberAttribute()]
  534.         private System.Nullable<int> _folderChildCountId;
  535.        
  536.         [System.Runtime.Serialization.DataMemberAttribute()]
  537.         private string _folderChildCountFolderChildCount;
  538.        
  539.         #region Extensibility Method Definitions
  540.         partial void OnLoaded();
  541.         partial void OnValidate();
  542.         partial void OnCreated();
  543.         #endregion
  544.        
  545.         public Folder() {
  546.             this.Initialize();
  547.         }
  548.        
  549.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="FileLeafRef", Storage="_name", Required=true, FieldType="File")]
  550.         public virtual string Name {
  551.             get {
  552.                 return this._name;
  553.             }
  554.             set {
  555.                 if ((value != this._name)) {
  556.                     this.OnPropertyChanging("Name", this._name);
  557.                     this._name = value;
  558.                     this.OnPropertyChanged("Name");
  559.                 }
  560.             }
  561.         }
  562.        
  563.         [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
  564.         [Microsoft.SharePoint.Linq.RemovedColumnAttribute()]
  565.         public override string EncodingQueueStatus {
  566.             get {
  567.                 throw new System.InvalidOperationException("Field Title was removed from content type Folder.");
  568.             }
  569.             set {
  570.                 throw new System.InvalidOperationException("Field Title was removed from content type Folder.");
  571.             }
  572.         }
  573.        
  574.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="ItemChildCount", Storage="_itemChildCountId", ReadOnly=true, FieldType="Lookup", IsLookupId=true)]
  575.         public System.Nullable<int> ItemChildCountId {
  576.             get {
  577.                 return this._itemChildCountId;
  578.             }
  579.             set {
  580.                 if ((value != this._itemChildCountId)) {
  581.                     this.OnPropertyChanging("ItemChildCountId", this._itemChildCountId);
  582.                     this._itemChildCountId = value;
  583.                     this.OnPropertyChanged("ItemChildCountId");
  584.                 }
  585.             }
  586.         }
  587.        
  588.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="ItemChildCount", Storage="_itemChildCountItemChildCount", ReadOnly=true, FieldType="Lookup", IsLookupValue=true)]
  589.         public string ItemChildCountItemChildCount {
  590.             get {
  591.                 return this._itemChildCountItemChildCount;
  592.             }
  593.             set {
  594.                 if ((value != this._itemChildCountItemChildCount)) {
  595.                     this.OnPropertyChanging("ItemChildCountItemChildCount", this._itemChildCountItemChildCount);
  596.                     this._itemChildCountItemChildCount = value;
  597.                     this.OnPropertyChanged("ItemChildCountItemChildCount");
  598.                 }
  599.             }
  600.         }
  601.        
  602.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="FolderChildCount", Storage="_folderChildCountId", ReadOnly=true, FieldType="Lookup", IsLookupId=true)]
  603.         public System.Nullable<int> FolderChildCountId {
  604.             get {
  605.                 return this._folderChildCountId;
  606.             }
  607.             set {
  608.                 if ((value != this._folderChildCountId)) {
  609.                     this.OnPropertyChanging("FolderChildCountId", this._folderChildCountId);
  610.                     this._folderChildCountId = value;
  611.                     this.OnPropertyChanged("FolderChildCountId");
  612.                 }
  613.             }
  614.         }
  615.        
  616.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="FolderChildCount", Storage="_folderChildCountFolderChildCount", ReadOnly=true, FieldType="Lookup", IsLookupValue=true)]
  617.         public string FolderChildCountFolderChildCount {
  618.             get {
  619.                 return this._folderChildCountFolderChildCount;
  620.             }
  621.             set {
  622.                 if ((value != this._folderChildCountFolderChildCount)) {
  623.                     this.OnPropertyChanging("FolderChildCountFolderChildCount", this._folderChildCountFolderChildCount);
  624.                     this._folderChildCountFolderChildCount = value;
  625.                     this.OnPropertyChanged("FolderChildCountFolderChildCount");
  626.                 }
  627.             }
  628.         }
  629.        
  630.         private void Initialize() {
  631.             this.OnCreated();
  632.         }
  633.        
  634.         [System.Runtime.Serialization.OnDeserializedAttribute()]
  635.         private void OnDeserialized(System.Runtime.Serialization.StreamingContext context) {
  636.             this.Initialize();
  637.         }
  638.     }
  639.    
  640.     /// <summary>
  641.     /// Create a new meeting, deadline or other event.
  642.     /// </summary>
  643.     [Microsoft.SharePoint.Linq.ContentTypeAttribute(Name="Event", Id="0x0102")]
  644.     [Microsoft.SharePoint.Linq.DerivedEntityClassAttribute(Type=typeof(CalendarEvent))]
  645.     [System.Runtime.Serialization.DataContractAttribute()]
  646.     public partial class Event : Item {
  647.        
  648.         [System.Runtime.Serialization.DataMemberAttribute()]
  649.         private string _location;
  650.        
  651.         [System.Runtime.Serialization.DataMemberAttribute()]
  652.         protected System.Nullable<System.DateTime> _startTime;
  653.        
  654.         [System.Runtime.Serialization.DataMemberAttribute()]
  655.         private System.Nullable<System.DateTime> _endTime;
  656.        
  657.         [System.Runtime.Serialization.DataMemberAttribute()]
  658.         protected string _description;
  659.        
  660.         [System.Runtime.Serialization.DataMemberAttribute()]
  661.         private System.Nullable<bool> _allDayEvent;
  662.        
  663.         [System.Runtime.Serialization.DataMemberAttribute()]
  664.         private System.Nullable<bool> _recurrence;
  665.        
  666.         [System.Runtime.Serialization.DataMemberAttribute()]
  667.         private System.Nullable<bool> _workspace;
  668.        
  669.         [System.Runtime.Serialization.DataMemberAttribute()]
  670.         private System.Nullable<Category> _category;
  671.        
  672.         #region Extensibility Method Definitions
  673.         partial void OnLoaded();
  674.         partial void OnValidate();
  675.         partial void OnCreated();
  676.         #endregion
  677.        
  678.         public Event() {
  679.             this.Initialize();
  680.         }
  681.        
  682.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="Location", Storage="_location", FieldType="Text")]
  683.         public string Location {
  684.             get {
  685.                 return this._location;
  686.             }
  687.             set {
  688.                 if ((value != this._location)) {
  689.                     this.OnPropertyChanging("Location", this._location);
  690.                     this._location = value;
  691.                     this.OnPropertyChanged("Location");
  692.                 }
  693.             }
  694.         }
  695.        
  696.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="StartDate", Storage="_startTime", Required=true, FieldType="DateTime")]
  697.         public virtual System.Nullable<System.DateTime> StartTime {
  698.             get {
  699.                 return this._startTime;
  700.             }
  701.             set {
  702.                 if ((value != this._startTime)) {
  703.                     this.OnPropertyChanging("StartTime", this._startTime);
  704.                     this._startTime = value;
  705.                     this.OnPropertyChanged("StartTime");
  706.                 }
  707.             }
  708.         }
  709.        
  710.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="EndDate", Storage="_endTime", Required=true, FieldType="DateTime")]
  711.         public System.Nullable<System.DateTime> EndTime {
  712.             get {
  713.                 return this._endTime;
  714.             }
  715.             set {
  716.                 if ((value != this._endTime)) {
  717.                     this.OnPropertyChanging("EndTime", this._endTime);
  718.                     this._endTime = value;
  719.                     this.OnPropertyChanged("EndTime");
  720.                 }
  721.             }
  722.         }
  723.        
  724.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="Comments", Storage="_description", FieldType="Note")]
  725.         public virtual string Description {
  726.             get {
  727.                 return this._description;
  728.             }
  729.             set {
  730.                 if ((value != this._description)) {
  731.                     this.OnPropertyChanging("Description", this._description);
  732.                     this._description = value;
  733.                     this.OnPropertyChanged("Description");
  734.                 }
  735.             }
  736.         }
  737.        
  738.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="fAllDayEvent", Storage="_allDayEvent", FieldType="AllDayEvent")]
  739.         public System.Nullable<bool> AllDayEvent {
  740.             get {
  741.                 return this._allDayEvent;
  742.             }
  743.             set {
  744.                 if ((value != this._allDayEvent)) {
  745.                     this.OnPropertyChanging("AllDayEvent", this._allDayEvent);
  746.                     this._allDayEvent = value;
  747.                     this.OnPropertyChanged("AllDayEvent");
  748.                 }
  749.             }
  750.         }
  751.        
  752.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="fRecurrence", Storage="_recurrence", FieldType="Recurrence")]
  753.         public System.Nullable<bool> Recurrence {
  754.             get {
  755.                 return this._recurrence;
  756.             }
  757.             set {
  758.                 if ((value != this._recurrence)) {
  759.                     this.OnPropertyChanging("Recurrence", this._recurrence);
  760.                     this._recurrence = value;
  761.                     this.OnPropertyChanged("Recurrence");
  762.                 }
  763.             }
  764.         }
  765.        
  766.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="WorkspaceLink", Storage="_workspace", FieldType="CrossProjectLink")]
  767.         public System.Nullable<bool> Workspace {
  768.             get {
  769.                 return this._workspace;
  770.             }
  771.             set {
  772.                 if ((value != this._workspace)) {
  773.                     this.OnPropertyChanging("Workspace", this._workspace);
  774.                     this._workspace = value;
  775.                     this.OnPropertyChanged("Workspace");
  776.                 }
  777.             }
  778.         }
  779.        
  780.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="Category", Storage="_category", FieldType="Choice")]
  781.         public System.Nullable<Category> Category {
  782.             get {
  783.                 return this._category;
  784.             }
  785.             set {
  786.                 if ((value != this._category)) {
  787.                     this.OnPropertyChanging("Category", this._category);
  788.                     this._category = value;
  789.                     this.OnPropertyChanged("Category");
  790.                 }
  791.             }
  792.         }
  793.        
  794.         private void Initialize() {
  795.             this.OnCreated();
  796.         }
  797.        
  798.         [System.Runtime.Serialization.OnDeserializedAttribute()]
  799.         private void OnDeserialized(System.Runtime.Serialization.StreamingContext context) {
  800.             this.Initialize();
  801.         }
  802.     }
  803.    
  804.     /// <summary>
  805.     /// Create a new document.
  806.     /// </summary>
  807.     [Microsoft.SharePoint.Linq.ContentTypeAttribute(Name="Document", Id="0x0101")]
  808.     [Microsoft.SharePoint.Linq.DerivedEntityClassAttribute(Type=typeof(WikiPage))]
  809.     [System.Runtime.Serialization.DataContractAttribute()]
  810.     public partial class Document : Item {
  811.        
  812.         [System.Runtime.Serialization.DataMemberAttribute()]
  813.         private string _name;
  814.        
  815.         [System.Runtime.Serialization.DataMemberAttribute()]
  816.         private string _documentModifiedBy;
  817.        
  818.         [System.Runtime.Serialization.DataMemberAttribute()]
  819.         private string _documentCreatedBy;
  820.        
  821.         #region Extensibility Method Definitions
  822.         partial void OnLoaded();
  823.         partial void OnValidate();
  824.         partial void OnCreated();
  825.         #endregion
  826.        
  827.         public Document() {
  828.             this.Initialize();
  829.         }
  830.        
  831.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="FileLeafRef", Storage="_name", Required=true, FieldType="File")]
  832.         public string Name {
  833.             get {
  834.                 return this._name;
  835.             }
  836.             set {
  837.                 if ((value != this._name)) {
  838.                     this.OnPropertyChanging("Name", this._name);
  839.                     this._name = value;
  840.                     this.OnPropertyChanged("Name");
  841.                 }
  842.             }
  843.         }
  844.        
  845.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="Modified_x0020_By", Storage="_documentModifiedBy", ReadOnly=true, FieldType="Text")]
  846.         public string DocumentModifiedBy {
  847.             get {
  848.                 return this._documentModifiedBy;
  849.             }
  850.             set {
  851.                 if ((value != this._documentModifiedBy)) {
  852.                     this.OnPropertyChanging("DocumentModifiedBy", this._documentModifiedBy);
  853.                     this._documentModifiedBy = value;
  854.                     this.OnPropertyChanged("DocumentModifiedBy");
  855.                 }
  856.             }
  857.         }
  858.        
  859.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="Created_x0020_By", Storage="_documentCreatedBy", ReadOnly=true, FieldType="Text")]
  860.         public string DocumentCreatedBy {
  861.             get {
  862.                 return this._documentCreatedBy;
  863.             }
  864.             set {
  865.                 if ((value != this._documentCreatedBy)) {
  866.                     this.OnPropertyChanging("DocumentCreatedBy", this._documentCreatedBy);
  867.                     this._documentCreatedBy = value;
  868.                     this.OnPropertyChanged("DocumentCreatedBy");
  869.                 }
  870.             }
  871.         }
  872.        
  873.         private void Initialize() {
  874.             this.OnCreated();
  875.         }
  876.        
  877.         [System.Runtime.Serialization.OnDeserializedAttribute()]
  878.         private void OnDeserialized(System.Runtime.Serialization.StreamingContext context) {
  879.             this.Initialize();
  880.         }
  881.     }
  882.    
  883.     /// <summary>
  884.     /// Create a new link to a Web page or other resource.
  885.     /// </summary>
  886.     [Microsoft.SharePoint.Linq.ContentTypeAttribute(Name="Link", Id="0x0105")]
  887.     [System.Runtime.Serialization.DataContractAttribute()]
  888.     public partial class Link : Item {
  889.        
  890.         [System.Runtime.Serialization.DataMemberAttribute()]
  891.         private string _uRL;
  892.        
  893.         [System.Runtime.Serialization.DataMemberAttribute()]
  894.         private string _comments;
  895.        
  896.         [System.Runtime.Serialization.DataMemberAttribute()]
  897.         private string _uRL0;
  898.        
  899.         [System.Runtime.Serialization.DataMemberAttribute()]
  900.         private string _uRL1;
  901.        
  902.         #region Extensibility Method Definitions
  903.         partial void OnLoaded();
  904.         partial void OnValidate();
  905.         partial void OnCreated();
  906.         #endregion
  907.        
  908.         public Link() {
  909.             this.Initialize();
  910.         }
  911.        
  912.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="URL", Storage="_uRL", Required=true, FieldType="Url")]
  913.         public string URL {
  914.             get {
  915.                 return this._uRL;
  916.             }
  917.             set {
  918.                 if ((value != this._uRL)) {
  919.                     this.OnPropertyChanging("URL", this._uRL);
  920.                     this._uRL = value;
  921.                     this.OnPropertyChanged("URL");
  922.                 }
  923.             }
  924.         }
  925.        
  926.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="Comments", Storage="_comments", FieldType="Note")]
  927.         public string Comments {
  928.             get {
  929.                 return this._comments;
  930.             }
  931.             set {
  932.                 if ((value != this._comments)) {
  933.                     this.OnPropertyChanging("Comments", this._comments);
  934.                     this._comments = value;
  935.                     this.OnPropertyChanged("Comments");
  936.                 }
  937.             }
  938.         }
  939.        
  940.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="URLwMenu", Storage="_uRL0", ReadOnly=true, FieldType="Computed")]
  941.         public string URL0 {
  942.             get {
  943.                 return this._uRL0;
  944.             }
  945.             set {
  946.                 if ((value != this._uRL0)) {
  947.                     this.OnPropertyChanging("URL0", this._uRL0);
  948.                     this._uRL0 = value;
  949.                     this.OnPropertyChanged("URL0");
  950.                 }
  951.             }
  952.         }
  953.        
  954.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="URLNoMenu", Storage="_uRL1", ReadOnly=true, FieldType="Computed")]
  955.         public string URL1 {
  956.             get {
  957.                 return this._uRL1;
  958.             }
  959.             set {
  960.                 if ((value != this._uRL1)) {
  961.                     this.OnPropertyChanging("URL1", this._uRL1);
  962.                     this._uRL1 = value;
  963.                     this.OnPropertyChanged("URL1");
  964.                 }
  965.             }
  966.         }
  967.        
  968.         [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
  969.         [Microsoft.SharePoint.Linq.RemovedColumnAttribute()]
  970.         public override string EncodingQueueStatus {
  971.             get {
  972.                 throw new System.InvalidOperationException("Field Title was removed from content type Link.");
  973.             }
  974.             set {
  975.                 throw new System.InvalidOperationException("Field Title was removed from content type Link.");
  976.             }
  977.         }
  978.        
  979.         private void Initialize() {
  980.             this.OnCreated();
  981.         }
  982.        
  983.         [System.Runtime.Serialization.OnDeserializedAttribute()]
  984.         private void OnDeserialized(System.Runtime.Serialization.StreamingContext context) {
  985.             this.Initialize();
  986.         }
  987.     }
  988.    
  989.     /// <summary>
  990.     /// Track a work item that you or your team needs to complete.
  991.     /// </summary>
  992.     [Microsoft.SharePoint.Linq.ContentTypeAttribute(Name="Task", Id="0x0108")]
  993.     [Microsoft.SharePoint.Linq.DerivedEntityClassAttribute(Type=typeof(TasksTask))]
  994.     [System.Runtime.Serialization.DataContractAttribute()]
  995.     public partial class Task : Item {
  996.        
  997.         [System.Runtime.Serialization.DataMemberAttribute()]
  998.         private System.Nullable<double> _complete;
  999.        
  1000.         [System.Runtime.Serialization.DataMemberAttribute()]
  1001.         private string _body;
  1002.        
  1003.         [System.Runtime.Serialization.DataMemberAttribute()]
  1004.         private System.Nullable<System.DateTime> _startDate;
  1005.        
  1006.         [System.Runtime.Serialization.DataMemberAttribute()]
  1007.         protected System.Nullable<System.DateTime> _dueDate;
  1008.        
  1009.         [System.Runtime.Serialization.DataMemberAttribute()]
  1010.         private System.Nullable<Priority> _priority;
  1011.        
  1012.         [System.Runtime.Serialization.DataMemberAttribute()]
  1013.         protected System.Nullable<TaskStatus> _taskStatus;
  1014.        
  1015.         [System.Runtime.Serialization.DataMemberAttribute()]
  1016.         private System.Nullable<int> _assignedToId;
  1017.        
  1018.         [System.Runtime.Serialization.DataMemberAttribute()]
  1019.         private string _assignedTo;
  1020.        
  1021.         #region Extensibility Method Definitions
  1022.         partial void OnLoaded();
  1023.         partial void OnValidate();
  1024.         partial void OnCreated();
  1025.         #endregion
  1026.        
  1027.         public Task() {
  1028.             this.Initialize();
  1029.         }
  1030.        
  1031.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="PercentComplete", Storage="_complete", FieldType="Number")]
  1032.         public System.Nullable<double> Complete {
  1033.             get {
  1034.                 return this._complete;
  1035.             }
  1036.             set {
  1037.                 if ((value != this._complete)) {
  1038.                     this.OnPropertyChanging("Complete", this._complete);
  1039.                     this._complete = value;
  1040.                     this.OnPropertyChanged("Complete");
  1041.                 }
  1042.             }
  1043.         }
  1044.        
  1045.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="Body", Storage="_body", FieldType="Note")]
  1046.         public string Body {
  1047.             get {
  1048.                 return this._body;
  1049.             }
  1050.             set {
  1051.                 if ((value != this._body)) {
  1052.                     this.OnPropertyChanging("Body", this._body);
  1053.                     this._body = value;
  1054.                     this.OnPropertyChanged("Body");
  1055.                 }
  1056.             }
  1057.         }
  1058.        
  1059.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="StartDate", Storage="_startDate", FieldType="DateTime")]
  1060.         public System.Nullable<System.DateTime> StartDate {
  1061.             get {
  1062.                 return this._startDate;
  1063.             }
  1064.             set {
  1065.                 if ((value != this._startDate)) {
  1066.                     this.OnPropertyChanging("StartDate", this._startDate);
  1067.                     this._startDate = value;
  1068.                     this.OnPropertyChanged("StartDate");
  1069.                 }
  1070.             }
  1071.         }
  1072.        
  1073.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="TaskDueDate", Storage="_dueDate", FieldType="DateTime")]
  1074.         public virtual System.Nullable<System.DateTime> DueDate {
  1075.             get {
  1076.                 return this._dueDate;
  1077.             }
  1078.             set {
  1079.                 if ((value != this._dueDate)) {
  1080.                     this.OnPropertyChanging("DueDate", this._dueDate);
  1081.                     this._dueDate = value;
  1082.                     this.OnPropertyChanged("DueDate");
  1083.                 }
  1084.             }
  1085.         }
  1086.        
  1087.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="Priority", Storage="_priority", FieldType="Choice")]
  1088.         public System.Nullable<Priority> Priority {
  1089.             get {
  1090.                 return this._priority;
  1091.             }
  1092.             set {
  1093.                 if ((value != this._priority)) {
  1094.                     this.OnPropertyChanging("Priority", this._priority);
  1095.                     this._priority = value;
  1096.                     this.OnPropertyChanged("Priority");
  1097.                 }
  1098.             }
  1099.         }
  1100.        
  1101.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="TaskStatus", Storage="_taskStatus", FieldType="Choice")]
  1102.         public virtual System.Nullable<TaskStatus> TaskStatus {
  1103.             get {
  1104.                 return this._taskStatus;
  1105.             }
  1106.             set {
  1107.                 if ((value != this._taskStatus)) {
  1108.                     this.OnPropertyChanging("TaskStatus", this._taskStatus);
  1109.                     this._taskStatus = value;
  1110.                     this.OnPropertyChanged("TaskStatus");
  1111.                 }
  1112.             }
  1113.         }
  1114.        
  1115.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="AssignedTo", Storage="_assignedToId", FieldType="User", IsLookupId=true)]
  1116.         public System.Nullable<int> AssignedToId {
  1117.             get {
  1118.                 return this._assignedToId;
  1119.             }
  1120.             set {
  1121.                 if ((value != this._assignedToId)) {
  1122.                     this.OnPropertyChanging("AssignedToId", this._assignedToId);
  1123.                     this._assignedToId = value;
  1124.                     this.OnPropertyChanged("AssignedToId");
  1125.                 }
  1126.             }
  1127.         }
  1128.        
  1129.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="AssignedTo", Storage="_assignedTo", ReadOnly=true, FieldType="User", IsLookupValue=true)]
  1130.         public string AssignedTo {
  1131.             get {
  1132.                 return this._assignedTo;
  1133.             }
  1134.             set {
  1135.                 if ((value != this._assignedTo)) {
  1136.                     this.OnPropertyChanging("AssignedTo", this._assignedTo);
  1137.                     this._assignedTo = value;
  1138.                     this.OnPropertyChanged("AssignedTo");
  1139.                 }
  1140.             }
  1141.         }
  1142.        
  1143.         private void Initialize() {
  1144.             this.OnCreated();
  1145.         }
  1146.        
  1147.         [System.Runtime.Serialization.OnDeserializedAttribute()]
  1148.         private void OnDeserialized(System.Runtime.Serialization.StreamingContext context) {
  1149.             this.Initialize();
  1150.         }
  1151.     }
  1152.    
  1153.     /// <summary>
  1154.     /// Create a new message.
  1155.     /// </summary>
  1156.     [Microsoft.SharePoint.Linq.ContentTypeAttribute(Name="Message", Id="0x0107")]
  1157.     [System.Runtime.Serialization.DataContractAttribute()]
  1158.     public partial class Message : Item {
  1159.        
  1160.         [System.Runtime.Serialization.DataMemberAttribute()]
  1161.         private string _discussionSubject;
  1162.        
  1163.         [System.Runtime.Serialization.DataMemberAttribute()]
  1164.         private string _version0;
  1165.        
  1166.         [System.Runtime.Serialization.DataMemberAttribute()]
  1167.         private string _body;
  1168.        
  1169.         [System.Runtime.Serialization.DataMemberAttribute()]
  1170.         private string _reply;
  1171.        
  1172.         [System.Runtime.Serialization.DataMemberAttribute()]
  1173.         private string _post;
  1174.        
  1175.         [System.Runtime.Serialization.DataMemberAttribute()]
  1176.         private string _threading;
  1177.        
  1178.         [System.Runtime.Serialization.DataMemberAttribute()]
  1179.         private string _postedBy;
  1180.        
  1181.         [System.Runtime.Serialization.DataMemberAttribute()]
  1182.         private string _eMailSender;
  1183.        
  1184.         [System.Runtime.Serialization.DataMemberAttribute()]
  1185.         private System.Nullable<int> _modifiedById;
  1186.        
  1187.         [System.Runtime.Serialization.DataMemberAttribute()]
  1188.         private string _modifiedByNameWithPicture;
  1189.        
  1190.         #region Extensibility Method Definitions
  1191.         partial void OnLoaded();
  1192.         partial void OnValidate();
  1193.         partial void OnCreated();
  1194.         #endregion
  1195.        
  1196.         public Message() {
  1197.             this.Initialize();
  1198.         }
  1199.        
  1200.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="DiscussionTitle", Storage="_discussionSubject", ReadOnly=true, FieldType="Computed")]
  1201.         public string DiscussionSubject {
  1202.             get {
  1203.                 return this._discussionSubject;
  1204.             }
  1205.             set {
  1206.                 if ((value != this._discussionSubject)) {
  1207.                     this.OnPropertyChanging("DiscussionSubject", this._discussionSubject);
  1208.                     this._discussionSubject = value;
  1209.                     this.OnPropertyChanged("DiscussionSubject");
  1210.                 }
  1211.             }
  1212.         }
  1213.        
  1214.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="_UIVersionString", Storage="_version0", ReadOnly=true, FieldType="Text")]
  1215.         public string Version0 {
  1216.             get {
  1217.                 return this._version0;
  1218.             }
  1219.             set {
  1220.                 if ((value != this._version0)) {
  1221.                     this.OnPropertyChanging("Version0", this._version0);
  1222.                     this._version0 = value;
  1223.                     this.OnPropertyChanged("Version0");
  1224.                 }
  1225.             }
  1226.         }
  1227.        
  1228.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="Body", Storage="_body", FieldType="Note")]
  1229.         public string Body {
  1230.             get {
  1231.                 return this._body;
  1232.             }
  1233.             set {
  1234.                 if ((value != this._body)) {
  1235.                     this.OnPropertyChanging("Body", this._body);
  1236.                     this._body = value;
  1237.                     this.OnPropertyChanged("Body");
  1238.                 }
  1239.             }
  1240.         }
  1241.        
  1242.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="ReplyNoGif", Storage="_reply", ReadOnly=true, FieldType="Computed")]
  1243.         public string Reply {
  1244.             get {
  1245.                 return this._reply;
  1246.             }
  1247.             set {
  1248.                 if ((value != this._reply)) {
  1249.                     this.OnPropertyChanging("Reply", this._reply);
  1250.                     this._reply = value;
  1251.                     this.OnPropertyChanged("Reply");
  1252.                 }
  1253.             }
  1254.         }
  1255.        
  1256.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="BodyAndMore", Storage="_post", ReadOnly=true, FieldType="Computed")]
  1257.         public string Post {
  1258.             get {
  1259.                 return this._post;
  1260.             }
  1261.             set {
  1262.                 if ((value != this._post)) {
  1263.                     this.OnPropertyChanging("Post", this._post);
  1264.                     this._post = value;
  1265.                     this.OnPropertyChanged("Post");
  1266.                 }
  1267.             }
  1268.         }
  1269.        
  1270.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="Threading", Storage="_threading", ReadOnly=true, FieldType="Computed")]
  1271.         public string Threading {
  1272.             get {
  1273.                 return this._threading;
  1274.             }
  1275.             set {
  1276.                 if ((value != this._threading)) {
  1277.                     this.OnPropertyChanging("Threading", this._threading);
  1278.                     this._threading = value;
  1279.                     this.OnPropertyChanged("Threading");
  1280.                 }
  1281.             }
  1282.         }
  1283.        
  1284.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="PersonViewMinimal", Storage="_postedBy", ReadOnly=true, FieldType="Computed")]
  1285.         public string PostedBy {
  1286.             get {
  1287.                 return this._postedBy;
  1288.             }
  1289.             set {
  1290.                 if ((value != this._postedBy)) {
  1291.                     this.OnPropertyChanging("PostedBy", this._postedBy);
  1292.                     this._postedBy = value;
  1293.                     this.OnPropertyChanged("PostedBy");
  1294.                 }
  1295.             }
  1296.         }
  1297.        
  1298.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="EmailSender", Storage="_eMailSender", FieldType="Note")]
  1299.         public string EMailSender {
  1300.             get {
  1301.                 return this._eMailSender;
  1302.             }
  1303.             set {
  1304.                 if ((value != this._eMailSender)) {
  1305.                     this.OnPropertyChanging("EMailSender", this._eMailSender);
  1306.                     this._eMailSender = value;
  1307.                     this.OnPropertyChanged("EMailSender");
  1308.                 }
  1309.             }
  1310.         }
  1311.        
  1312.         [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
  1313.         [Microsoft.SharePoint.Linq.RemovedColumnAttribute()]
  1314.         public override string EncodingQueueStatus {
  1315.             get {
  1316.                 throw new System.InvalidOperationException("Field Title was removed from content type Message.");
  1317.             }
  1318.             set {
  1319.                 throw new System.InvalidOperationException("Field Title was removed from content type Message.");
  1320.             }
  1321.         }
  1322.        
  1323.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="MyEditor", Storage="_modifiedById", ReadOnly=true, FieldType="User", IsLookupId=true)]
  1324.         public System.Nullable<int> ModifiedById {
  1325.             get {
  1326.                 return this._modifiedById;
  1327.             }
  1328.             set {
  1329.                 if ((value != this._modifiedById)) {
  1330.                     this.OnPropertyChanging("ModifiedById", this._modifiedById);
  1331.                     this._modifiedById = value;
  1332.                     this.OnPropertyChanged("ModifiedById");
  1333.                 }
  1334.             }
  1335.         }
  1336.        
  1337.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="MyEditor", Storage="_modifiedByNameWithPicture", ReadOnly=true, FieldType="User", IsLookupValue=true)]
  1338.         public string ModifiedByNameWithPicture {
  1339.             get {
  1340.                 return this._modifiedByNameWithPicture;
  1341.             }
  1342.             set {
  1343.                 if ((value != this._modifiedByNameWithPicture)) {
  1344.                     this.OnPropertyChanging("ModifiedByNameWithPicture", this._modifiedByNameWithPicture);
  1345.                     this._modifiedByNameWithPicture = value;
  1346.                     this.OnPropertyChanged("ModifiedByNameWithPicture");
  1347.                 }
  1348.             }
  1349.         }
  1350.        
  1351.         private void Initialize() {
  1352.             this.OnCreated();
  1353.         }
  1354.        
  1355.         [System.Runtime.Serialization.OnDeserializedAttribute()]
  1356.         private void OnDeserialized(System.Runtime.Serialization.StreamingContext context) {
  1357.             this.Initialize();
  1358.         }
  1359.     }
  1360.    
  1361.     /// <summary>
  1362.     /// Create a new wiki page.
  1363.     /// </summary>
  1364.     [Microsoft.SharePoint.Linq.ContentTypeAttribute(Name="Wiki Page", Id="0x010108")]
  1365.     [System.Runtime.Serialization.DataContractAttribute()]
  1366.     public partial class WikiPage : Document {
  1367.        
  1368.         [System.Runtime.Serialization.DataMemberAttribute()]
  1369.         private string _wikiContent;
  1370.        
  1371.         #region Extensibility Method Definitions
  1372.         partial void OnLoaded();
  1373.         partial void OnValidate();
  1374.         partial void OnCreated();
  1375.         #endregion
  1376.        
  1377.         public WikiPage() {
  1378.             this.Initialize();
  1379.         }
  1380.        
  1381.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="WikiField", Storage="_wikiContent", FieldType="Note")]
  1382.         public string WikiContent {
  1383.             get {
  1384.                 return this._wikiContent;
  1385.             }
  1386.             set {
  1387.                 if ((value != this._wikiContent)) {
  1388.                     this.OnPropertyChanging("WikiContent", this._wikiContent);
  1389.                     this._wikiContent = value;
  1390.                     this.OnPropertyChanged("WikiContent");
  1391.                 }
  1392.             }
  1393.         }
  1394.        
  1395.         [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
  1396.         [Microsoft.SharePoint.Linq.RemovedColumnAttribute()]
  1397.         public override string EncodingQueueStatus {
  1398.             get {
  1399.                 throw new System.InvalidOperationException("Field Title was removed from content type Wiki Page.");
  1400.             }
  1401.             set {
  1402.                 throw new System.InvalidOperationException("Field Title was removed from content type Wiki Page.");
  1403.             }
  1404.         }
  1405.        
  1406.         private void Initialize() {
  1407.             this.OnCreated();
  1408.         }
  1409.        
  1410.         [System.Runtime.Serialization.OnDeserializedAttribute()]
  1411.         private void OnDeserialized(System.Runtime.Serialization.StreamingContext context) {
  1412.             this.Initialize();
  1413.         }
  1414.     }
  1415.    
  1416.     /// <summary>
  1417.     /// Group and describe related tasks that you or your team needs to complete.
  1418.     /// </summary>
  1419.     [Microsoft.SharePoint.Linq.ContentTypeAttribute(Name="Summary Task", Id="0x012004")]
  1420.     [Microsoft.SharePoint.Linq.DerivedEntityClassAttribute(Type=typeof(TasksSummaryTask))]
  1421.     [System.Runtime.Serialization.DataContractAttribute()]
  1422.     public partial class SummaryTask : Folder {
  1423.        
  1424.         [System.Runtime.Serialization.DataMemberAttribute()]
  1425.         private System.Nullable<double> _complete;
  1426.        
  1427.         [System.Runtime.Serialization.DataMemberAttribute()]
  1428.         private string _body;
  1429.        
  1430.         [System.Runtime.Serialization.DataMemberAttribute()]
  1431.         private System.Nullable<System.DateTime> _startDate;
  1432.        
  1433.         [System.Runtime.Serialization.DataMemberAttribute()]
  1434.         protected System.Nullable<System.DateTime> _dueDate;
  1435.        
  1436.         [System.Runtime.Serialization.DataMemberAttribute()]
  1437.         private System.Nullable<Priority> _priority;
  1438.        
  1439.         [System.Runtime.Serialization.DataMemberAttribute()]
  1440.         protected System.Nullable<TaskStatus> _taskStatus;
  1441.        
  1442.         [System.Runtime.Serialization.DataMemberAttribute()]
  1443.         private System.Nullable<int> _assignedToId;
  1444.        
  1445.         [System.Runtime.Serialization.DataMemberAttribute()]
  1446.         private string _assignedTo;
  1447.        
  1448.         #region Extensibility Method Definitions
  1449.         partial void OnLoaded();
  1450.         partial void OnValidate();
  1451.         partial void OnCreated();
  1452.         #endregion
  1453.        
  1454.         public SummaryTask() {
  1455.             this.Initialize();
  1456.         }
  1457.        
  1458.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="PercentComplete", Storage="_complete", FieldType="Number")]
  1459.         public System.Nullable<double> Complete {
  1460.             get {
  1461.                 return this._complete;
  1462.             }
  1463.             set {
  1464.                 if ((value != this._complete)) {
  1465.                     this.OnPropertyChanging("Complete", this._complete);
  1466.                     this._complete = value;
  1467.                     this.OnPropertyChanged("Complete");
  1468.                 }
  1469.             }
  1470.         }
  1471.        
  1472.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="Body", Storage="_body", FieldType="Note")]
  1473.         public string Body {
  1474.             get {
  1475.                 return this._body;
  1476.             }
  1477.             set {
  1478.                 if ((value != this._body)) {
  1479.                     this.OnPropertyChanging("Body", this._body);
  1480.                     this._body = value;
  1481.                     this.OnPropertyChanged("Body");
  1482.                 }
  1483.             }
  1484.         }
  1485.        
  1486.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="StartDate", Storage="_startDate", FieldType="DateTime")]
  1487.         public System.Nullable<System.DateTime> StartDate {
  1488.             get {
  1489.                 return this._startDate;
  1490.             }
  1491.             set {
  1492.                 if ((value != this._startDate)) {
  1493.                     this.OnPropertyChanging("StartDate", this._startDate);
  1494.                     this._startDate = value;
  1495.                     this.OnPropertyChanged("StartDate");
  1496.                 }
  1497.             }
  1498.         }
  1499.        
  1500.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="TaskDueDate", Storage="_dueDate", FieldType="DateTime")]
  1501.         public virtual System.Nullable<System.DateTime> DueDate {
  1502.             get {
  1503.                 return this._dueDate;
  1504.             }
  1505.             set {
  1506.                 if ((value != this._dueDate)) {
  1507.                     this.OnPropertyChanging("DueDate", this._dueDate);
  1508.                     this._dueDate = value;
  1509.                     this.OnPropertyChanged("DueDate");
  1510.                 }
  1511.             }
  1512.         }
  1513.        
  1514.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="Priority", Storage="_priority", FieldType="Choice")]
  1515.         public System.Nullable<Priority> Priority {
  1516.             get {
  1517.                 return this._priority;
  1518.             }
  1519.             set {
  1520.                 if ((value != this._priority)) {
  1521.                     this.OnPropertyChanging("Priority", this._priority);
  1522.                     this._priority = value;
  1523.                     this.OnPropertyChanged("Priority");
  1524.                 }
  1525.             }
  1526.         }
  1527.        
  1528.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="TaskStatus", Storage="_taskStatus", FieldType="Choice")]
  1529.         public virtual System.Nullable<TaskStatus> TaskStatus {
  1530.             get {
  1531.                 return this._taskStatus;
  1532.             }
  1533.             set {
  1534.                 if ((value != this._taskStatus)) {
  1535.                     this.OnPropertyChanging("TaskStatus", this._taskStatus);
  1536.                     this._taskStatus = value;
  1537.                     this.OnPropertyChanged("TaskStatus");
  1538.                 }
  1539.             }
  1540.         }
  1541.        
  1542.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="AssignedTo", Storage="_assignedToId", FieldType="User", IsLookupId=true)]
  1543.         public System.Nullable<int> AssignedToId {
  1544.             get {
  1545.                 return this._assignedToId;
  1546.             }
  1547.             set {
  1548.                 if ((value != this._assignedToId)) {
  1549.                     this.OnPropertyChanging("AssignedToId", this._assignedToId);
  1550.                     this._assignedToId = value;
  1551.                     this.OnPropertyChanged("AssignedToId");
  1552.                 }
  1553.             }
  1554.         }
  1555.        
  1556.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="AssignedTo", Storage="_assignedTo", ReadOnly=true, FieldType="User", IsLookupValue=true)]
  1557.         public string AssignedTo {
  1558.             get {
  1559.                 return this._assignedTo;
  1560.             }
  1561.             set {
  1562.                 if ((value != this._assignedTo)) {
  1563.                     this.OnPropertyChanging("AssignedTo", this._assignedTo);
  1564.                     this._assignedTo = value;
  1565.                     this.OnPropertyChanged("AssignedTo");
  1566.                 }
  1567.             }
  1568.         }
  1569.        
  1570.         private void Initialize() {
  1571.             this.OnCreated();
  1572.         }
  1573.        
  1574.         [System.Runtime.Serialization.OnDeserializedAttribute()]
  1575.         private void OnDeserialized(System.Runtime.Serialization.StreamingContext context) {
  1576.             this.Initialize();
  1577.         }
  1578.     }
  1579.    
  1580.     /// <summary>
  1581.     /// Create a new discussion topic.
  1582.     /// </summary>
  1583.     [Microsoft.SharePoint.Linq.ContentTypeAttribute(Name="Discussion", Id="0x012002")]
  1584.     [System.Runtime.Serialization.DataContractAttribute()]
  1585.     public partial class Discussion : Folder {
  1586.        
  1587.         [System.Runtime.Serialization.DataMemberAttribute()]
  1588.         private string _discussionSubject;
  1589.        
  1590.         [System.Runtime.Serialization.DataMemberAttribute()]
  1591.         private string _version0;
  1592.        
  1593.         [System.Runtime.Serialization.DataMemberAttribute()]
  1594.         private string _body;
  1595.        
  1596.         [System.Runtime.Serialization.DataMemberAttribute()]
  1597.         private string _reply;
  1598.        
  1599.         [System.Runtime.Serialization.DataMemberAttribute()]
  1600.         private string _post;
  1601.        
  1602.         [System.Runtime.Serialization.DataMemberAttribute()]
  1603.         private string _threading;
  1604.        
  1605.         [System.Runtime.Serialization.DataMemberAttribute()]
  1606.         private string _postedBy;
  1607.        
  1608.         [System.Runtime.Serialization.DataMemberAttribute()]
  1609.         private System.Nullable<System.DateTime> _lastUpdated;
  1610.        
  1611.         [System.Runtime.Serialization.DataMemberAttribute()]
  1612.         private string _eMailSender;
  1613.        
  1614.         [System.Runtime.Serialization.DataMemberAttribute()]
  1615.         private System.Nullable<int> _modifiedById;
  1616.        
  1617.         [System.Runtime.Serialization.DataMemberAttribute()]
  1618.         private string _modifiedByNameWithPicture;
  1619.        
  1620.         #region Extensibility Method Definitions
  1621.         partial void OnLoaded();
  1622.         partial void OnValidate();
  1623.         partial void OnCreated();
  1624.         #endregion
  1625.        
  1626.         public Discussion() {
  1627.             this.Initialize();
  1628.         }
  1629.        
  1630.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="Title", Storage="_encodingQueueStatus", Required=true, FieldType="Text")]
  1631.         public override string EncodingQueueStatus {
  1632.             get {
  1633.                 return this._encodingQueueStatus;
  1634.             }
  1635.             set {
  1636.                 if ((value != this._encodingQueueStatus)) {
  1637.                     this.OnPropertyChanging("EncodingQueueStatus", this._encodingQueueStatus);
  1638.                     this._encodingQueueStatus = value;
  1639.                     this.OnPropertyChanged("EncodingQueueStatus");
  1640.                 }
  1641.             }
  1642.         }
  1643.        
  1644.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="DiscussionTitle", Storage="_discussionSubject", ReadOnly=true, FieldType="Computed")]
  1645.         public string DiscussionSubject {
  1646.             get {
  1647.                 return this._discussionSubject;
  1648.             }
  1649.             set {
  1650.                 if ((value != this._discussionSubject)) {
  1651.                     this.OnPropertyChanging("DiscussionSubject", this._discussionSubject);
  1652.                     this._discussionSubject = value;
  1653.                     this.OnPropertyChanged("DiscussionSubject");
  1654.                 }
  1655.             }
  1656.         }
  1657.        
  1658.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="_UIVersionString", Storage="_version0", ReadOnly=true, FieldType="Text")]
  1659.         public string Version0 {
  1660.             get {
  1661.                 return this._version0;
  1662.             }
  1663.             set {
  1664.                 if ((value != this._version0)) {
  1665.                     this.OnPropertyChanging("Version0", this._version0);
  1666.                     this._version0 = value;
  1667.                     this.OnPropertyChanged("Version0");
  1668.                 }
  1669.             }
  1670.         }
  1671.        
  1672.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="Body", Storage="_body", FieldType="Note")]
  1673.         public string Body {
  1674.             get {
  1675.                 return this._body;
  1676.             }
  1677.             set {
  1678.                 if ((value != this._body)) {
  1679.                     this.OnPropertyChanging("Body", this._body);
  1680.                     this._body = value;
  1681.                     this.OnPropertyChanged("Body");
  1682.                 }
  1683.             }
  1684.         }
  1685.        
  1686.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="ReplyNoGif", Storage="_reply", ReadOnly=true, FieldType="Computed")]
  1687.         public string Reply {
  1688.             get {
  1689.                 return this._reply;
  1690.             }
  1691.             set {
  1692.                 if ((value != this._reply)) {
  1693.                     this.OnPropertyChanging("Reply", this._reply);
  1694.                     this._reply = value;
  1695.                     this.OnPropertyChanged("Reply");
  1696.                 }
  1697.             }
  1698.         }
  1699.        
  1700.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="BodyAndMore", Storage="_post", ReadOnly=true, FieldType="Computed")]
  1701.         public string Post {
  1702.             get {
  1703.                 return this._post;
  1704.             }
  1705.             set {
  1706.                 if ((value != this._post)) {
  1707.                     this.OnPropertyChanging("Post", this._post);
  1708.                     this._post = value;
  1709.                     this.OnPropertyChanged("Post");
  1710.                 }
  1711.             }
  1712.         }
  1713.        
  1714.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="Threading", Storage="_threading", ReadOnly=true, FieldType="Computed")]
  1715.         public string Threading {
  1716.             get {
  1717.                 return this._threading;
  1718.             }
  1719.             set {
  1720.                 if ((value != this._threading)) {
  1721.                     this.OnPropertyChanging("Threading", this._threading);
  1722.                     this._threading = value;
  1723.                     this.OnPropertyChanged("Threading");
  1724.                 }
  1725.             }
  1726.         }
  1727.        
  1728.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="PersonViewMinimal", Storage="_postedBy", ReadOnly=true, FieldType="Computed")]
  1729.         public string PostedBy {
  1730.             get {
  1731.                 return this._postedBy;
  1732.             }
  1733.             set {
  1734.                 if ((value != this._postedBy)) {
  1735.                     this.OnPropertyChanging("PostedBy", this._postedBy);
  1736.                     this._postedBy = value;
  1737.                     this.OnPropertyChanged("PostedBy");
  1738.                 }
  1739.             }
  1740.         }
  1741.        
  1742.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="DiscussionLastUpdated", Storage="_lastUpdated", ReadOnly=true, FieldType="DateTime")]
  1743.         public System.Nullable<System.DateTime> LastUpdated {
  1744.             get {
  1745.                 return this._lastUpdated;
  1746.             }
  1747.             set {
  1748.                 if ((value != this._lastUpdated)) {
  1749.                     this.OnPropertyChanging("LastUpdated", this._lastUpdated);
  1750.                     this._lastUpdated = value;
  1751.                     this.OnPropertyChanged("LastUpdated");
  1752.                 }
  1753.             }
  1754.         }
  1755.        
  1756.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="EmailSender", Storage="_eMailSender", FieldType="Note")]
  1757.         public string EMailSender {
  1758.             get {
  1759.                 return this._eMailSender;
  1760.             }
  1761.             set {
  1762.                 if ((value != this._eMailSender)) {
  1763.                     this.OnPropertyChanging("EMailSender", this._eMailSender);
  1764.                     this._eMailSender = value;
  1765.                     this.OnPropertyChanged("EMailSender");
  1766.                 }
  1767.             }
  1768.         }
  1769.        
  1770.         [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
  1771.         [Microsoft.SharePoint.Linq.RemovedColumnAttribute()]
  1772.         public override string Name {
  1773.             get {
  1774.                 throw new System.InvalidOperationException("Field FileLeafRef was removed from content type Discussion.");
  1775.             }
  1776.             set {
  1777.                 throw new System.InvalidOperationException("Field FileLeafRef was removed from content type Discussion.");
  1778.             }
  1779.         }
  1780.        
  1781.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="MyEditor", Storage="_modifiedById", ReadOnly=true, FieldType="User", IsLookupId=true)]
  1782.         public System.Nullable<int> ModifiedById {
  1783.             get {
  1784.                 return this._modifiedById;
  1785.             }
  1786.             set {
  1787.                 if ((value != this._modifiedById)) {
  1788.                     this.OnPropertyChanging("ModifiedById", this._modifiedById);
  1789.                     this._modifiedById = value;
  1790.                     this.OnPropertyChanged("ModifiedById");
  1791.                 }
  1792.             }
  1793.         }
  1794.        
  1795.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="MyEditor", Storage="_modifiedByNameWithPicture", ReadOnly=true, FieldType="User", IsLookupValue=true)]
  1796.         public string ModifiedByNameWithPicture {
  1797.             get {
  1798.                 return this._modifiedByNameWithPicture;
  1799.             }
  1800.             set {
  1801.                 if ((value != this._modifiedByNameWithPicture)) {
  1802.                     this.OnPropertyChanging("ModifiedByNameWithPicture", this._modifiedByNameWithPicture);
  1803.                     this._modifiedByNameWithPicture = value;
  1804.                     this.OnPropertyChanged("ModifiedByNameWithPicture");
  1805.                 }
  1806.             }
  1807.         }
  1808.        
  1809.         private void Initialize() {
  1810.             this.OnCreated();
  1811.         }
  1812.        
  1813.         [System.Runtime.Serialization.OnDeserializedAttribute()]
  1814.         private void OnDeserialized(System.Runtime.Serialization.StreamingContext context) {
  1815.             this.Initialize();
  1816.         }
  1817.     }
  1818.    
  1819.     /// <summary>
  1820.     /// Encoding Queue content type.
  1821.     /// </summary>
  1822.     [Microsoft.SharePoint.Linq.ContentTypeAttribute(Name="Encoding Queue", Id="0x01000C61FC6901194ADBB3E097E888FCF072")]
  1823.     [System.Runtime.Serialization.DataContractAttribute()]
  1824.     public partial class EncodingQueue : Item {
  1825.        
  1826.         [System.Runtime.Serialization.DataMemberAttribute()]
  1827.         private string _position;
  1828.        
  1829.         [System.Runtime.Serialization.DataMemberAttribute()]
  1830.         private System.Nullable<int> _encodingStatusId;
  1831.        
  1832.         [System.Runtime.Serialization.DataMemberAttribute()]
  1833.         private string _encodingStatusTitle;
  1834.        
  1835.         [System.Runtime.Serialization.DataMemberAttribute()]
  1836.         private System.Nullable<int> _videoTitleId;
  1837.        
  1838.         [System.Runtime.Serialization.DataMemberAttribute()]
  1839.         private string _videoTitleTitle;
  1840.        
  1841.         [System.Runtime.Serialization.DataMemberAttribute()]
  1842.         private System.Nullable<int> _encodeToVideoQualityId;
  1843.        
  1844.         [System.Runtime.Serialization.DataMemberAttribute()]
  1845.         private string _encodeToVideoQualityVideoQuality;
  1846.        
  1847.         [System.Runtime.Serialization.DataMemberAttribute()]
  1848.         private System.Nullable<int> _priorityId;
  1849.        
  1850.         [System.Runtime.Serialization.DataMemberAttribute()]
  1851.         private string _priorityPriority;
  1852.        
  1853.         #region Extensibility Method Definitions
  1854.         partial void OnLoaded();
  1855.         partial void OnValidate();
  1856.         partial void OnCreated();
  1857.         #endregion
  1858.        
  1859.         public EncodingQueue() {
  1860.             this.Initialize();
  1861.         }
  1862.        
  1863.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="Position", Storage="_position", FieldType="Text")]
  1864.         public string Position {
  1865.             get {
  1866.                 return this._position;
  1867.             }
  1868.             set {
  1869.                 if ((value != this._position)) {
  1870.                     this.OnPropertyChanging("Position", this._position);
  1871.                     this._position = value;
  1872.                     this.OnPropertyChanged("Position");
  1873.                 }
  1874.             }
  1875.         }
  1876.        
  1877.         [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
  1878.         [Microsoft.SharePoint.Linq.RemovedColumnAttribute()]
  1879.         public override string EncodingQueueStatus {
  1880.             get {
  1881.                 throw new System.InvalidOperationException("Field Title was removed from content type Encoding Queue.");
  1882.             }
  1883.             set {
  1884.                 throw new System.InvalidOperationException("Field Title was removed from content type Encoding Queue.");
  1885.             }
  1886.         }
  1887.        
  1888.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="LUEncodingStatus", Storage="_encodingStatusId", FieldType="Lookup", IsLookupId=true)]
  1889.         public System.Nullable<int> EncodingStatusId {
  1890.             get {
  1891.                 return this._encodingStatusId;
  1892.             }
  1893.             set {
  1894.                 if ((value != this._encodingStatusId)) {
  1895.                     this.OnPropertyChanging("EncodingStatusId", this._encodingStatusId);
  1896.                     this._encodingStatusId = value;
  1897.                     this.OnPropertyChanged("EncodingStatusId");
  1898.                 }
  1899.             }
  1900.         }
  1901.        
  1902.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="LUEncodingStatus", Storage="_encodingStatusTitle", ReadOnly=true, FieldType="Lookup", IsLookupValue=true)]
  1903.         public string EncodingStatusTitle {
  1904.             get {
  1905.                 return this._encodingStatusTitle;
  1906.             }
  1907.             set {
  1908.                 if ((value != this._encodingStatusTitle)) {
  1909.                     this.OnPropertyChanging("EncodingStatusTitle", this._encodingStatusTitle);
  1910.                     this._encodingStatusTitle = value;
  1911.                     this.OnPropertyChanged("EncodingStatusTitle");
  1912.                 }
  1913.             }
  1914.         }
  1915.        
  1916.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="LUVideoTitle", Storage="_videoTitleId", FieldType="Lookup", IsLookupId=true)]
  1917.         public System.Nullable<int> VideoTitleId {
  1918.             get {
  1919.                 return this._videoTitleId;
  1920.             }
  1921.             set {
  1922.                 if ((value != this._videoTitleId)) {
  1923.                     this.OnPropertyChanging("VideoTitleId", this._videoTitleId);
  1924.                     this._videoTitleId = value;
  1925.                     this.OnPropertyChanged("VideoTitleId");
  1926.                 }
  1927.             }
  1928.         }
  1929.        
  1930.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="LUVideoTitle", Storage="_videoTitleTitle", ReadOnly=true, FieldType="Lookup", IsLookupValue=true)]
  1931.         public string VideoTitleTitle {
  1932.             get {
  1933.                 return this._videoTitleTitle;
  1934.             }
  1935.             set {
  1936.                 if ((value != this._videoTitleTitle)) {
  1937.                     this.OnPropertyChanging("VideoTitleTitle", this._videoTitleTitle);
  1938.                     this._videoTitleTitle = value;
  1939.                     this.OnPropertyChanged("VideoTitleTitle");
  1940.                 }
  1941.             }
  1942.         }
  1943.        
  1944.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="LUVideoQuality", Storage="_encodeToVideoQualityId", FieldType="Lookup", IsLookupId=true)]
  1945.         public System.Nullable<int> EncodeToVideoQualityId {
  1946.             get {
  1947.                 return this._encodeToVideoQualityId;
  1948.             }
  1949.             set {
  1950.                 if ((value != this._encodeToVideoQualityId)) {
  1951.                     this.OnPropertyChanging("EncodeToVideoQualityId", this._encodeToVideoQualityId);
  1952.                     this._encodeToVideoQualityId = value;
  1953.                     this.OnPropertyChanged("EncodeToVideoQualityId");
  1954.                 }
  1955.             }
  1956.         }
  1957.        
  1958.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="LUVideoQuality", Storage="_encodeToVideoQualityVideoQuality", ReadOnly=true, FieldType="Lookup", IsLookupValue=true)]
  1959.         public string EncodeToVideoQualityVideoQuality {
  1960.             get {
  1961.                 return this._encodeToVideoQualityVideoQuality;
  1962.             }
  1963.             set {
  1964.                 if ((value != this._encodeToVideoQualityVideoQuality)) {
  1965.                     this.OnPropertyChanging("EncodeToVideoQualityVideoQuality", this._encodeToVideoQualityVideoQuality);
  1966.                     this._encodeToVideoQualityVideoQuality = value;
  1967.                     this.OnPropertyChanged("EncodeToVideoQualityVideoQuality");
  1968.                 }
  1969.             }
  1970.         }
  1971.        
  1972.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="LUPriority", Storage="_priorityId", FieldType="Lookup", IsLookupId=true)]
  1973.         public System.Nullable<int> PriorityId {
  1974.             get {
  1975.                 return this._priorityId;
  1976.             }
  1977.             set {
  1978.                 if ((value != this._priorityId)) {
  1979.                     this.OnPropertyChanging("PriorityId", this._priorityId);
  1980.                     this._priorityId = value;
  1981.                     this.OnPropertyChanged("PriorityId");
  1982.                 }
  1983.             }
  1984.         }
  1985.        
  1986.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="LUPriority", Storage="_priorityPriority", ReadOnly=true, FieldType="Lookup", IsLookupValue=true)]
  1987.         public string PriorityPriority {
  1988.             get {
  1989.                 return this._priorityPriority;
  1990.             }
  1991.             set {
  1992.                 if ((value != this._priorityPriority)) {
  1993.                     this.OnPropertyChanging("PriorityPriority", this._priorityPriority);
  1994.                     this._priorityPriority = value;
  1995.                     this.OnPropertyChanged("PriorityPriority");
  1996.                 }
  1997.             }
  1998.         }
  1999.        
  2000.         private void Initialize() {
  2001.             this.OnCreated();
  2002.         }
  2003.        
  2004.         [System.Runtime.Serialization.OnDeserializedAttribute()]
  2005.         private void OnDeserialized(System.Runtime.Serialization.StreamingContext context) {
  2006.             this.Initialize();
  2007.         }
  2008.     }
  2009.    
  2010.     /// <summary>
  2011.     /// Global Settings content type.
  2012.     /// </summary>
  2013.     [Microsoft.SharePoint.Linq.ContentTypeAttribute(Name="Global Settings", Id="0x0100C0206052C3A6419680F3F8E27BC0BE53")]
  2014.     [System.Runtime.Serialization.DataContractAttribute()]
  2015.     public partial class GlobalSettings : Item {
  2016.        
  2017.         [System.Runtime.Serialization.DataMemberAttribute()]
  2018.         private string _name;
  2019.        
  2020.         [System.Runtime.Serialization.DataMemberAttribute()]
  2021.         private string _setting;
  2022.        
  2023.         #region Extensibility Method Definitions
  2024.         partial void OnLoaded();
  2025.         partial void OnValidate();
  2026.         partial void OnCreated();
  2027.         #endregion
  2028.        
  2029.         public GlobalSettings() {
  2030.             this.Initialize();
  2031.         }
  2032.        
  2033.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="Name", Storage="_name", FieldType="Text")]
  2034.         public string Name {
  2035.             get {
  2036.                 return this._name;
  2037.             }
  2038.             set {
  2039.                 if ((value != this._name)) {
  2040.                     this.OnPropertyChanging("Name", this._name);
  2041.                     this._name = value;
  2042.                     this.OnPropertyChanged("Name");
  2043.                 }
  2044.             }
  2045.         }
  2046.        
  2047.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="Setting", Storage="_setting", FieldType="Text")]
  2048.         public string Setting {
  2049.             get {
  2050.                 return this._setting;
  2051.             }
  2052.             set {
  2053.                 if ((value != this._setting)) {
  2054.                     this.OnPropertyChanging("Setting", this._setting);
  2055.                     this._setting = value;
  2056.                     this.OnPropertyChanged("Setting");
  2057.                 }
  2058.             }
  2059.         }
  2060.        
  2061.         [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
  2062.         [Microsoft.SharePoint.Linq.RemovedColumnAttribute()]
  2063.         public override string EncodingQueueStatus {
  2064.             get {
  2065.                 throw new System.InvalidOperationException("Field Title was removed from content type Global Settings.");
  2066.             }
  2067.             set {
  2068.                 throw new System.InvalidOperationException("Field Title was removed from content type Global Settings.");
  2069.             }
  2070.         }
  2071.        
  2072.         private void Initialize() {
  2073.             this.OnCreated();
  2074.         }
  2075.        
  2076.         [System.Runtime.Serialization.OnDeserializedAttribute()]
  2077.         private void OnDeserialized(System.Runtime.Serialization.StreamingContext context) {
  2078.             this.Initialize();
  2079.         }
  2080.     }
  2081.    
  2082.     /// <summary>
  2083.     /// PlayList content type.
  2084.     /// </summary>
  2085.     [Microsoft.SharePoint.Linq.ContentTypeAttribute(Name="PlayList", Id="0x01004DA8EA4A01C445EFAEF0260184847D79")]
  2086.     [Microsoft.SharePoint.Linq.DerivedEntityClassAttribute(Type=typeof(PlayListListPlayList))]
  2087.     [System.Runtime.Serialization.DataContractAttribute()]
  2088.     public partial class PlayList : Item {
  2089.        
  2090.         [System.Runtime.Serialization.DataMemberAttribute()]
  2091.         private string _playListDescription;
  2092.        
  2093.         [System.Runtime.Serialization.DataMemberAttribute()]
  2094.         private string _author;
  2095.        
  2096.         [System.Runtime.Serialization.DataMemberAttribute()]
  2097.         private Microsoft.SharePoint.Linq.LookupList<System.Nullable<int>> _usersWithRightsToAddItemsToPlaylistId;
  2098.        
  2099.         [System.Runtime.Serialization.DataMemberAttribute()]
  2100.         private Microsoft.SharePoint.Linq.LookupList<string> _usersWithRightsToAddItemsToPlaylist;
  2101.        
  2102.         [System.Runtime.Serialization.DataMemberAttribute()]
  2103.         private Microsoft.SharePoint.Linq.LookupList<System.Nullable<int>> _usersWithRightsToCommentOnItemsInPlaylistId;
  2104.        
  2105.         [System.Runtime.Serialization.DataMemberAttribute()]
  2106.         private Microsoft.SharePoint.Linq.LookupList<string> _usersWithRightsToCommentOnItemsInPlaylist;
  2107.        
  2108.         [System.Runtime.Serialization.DataMemberAttribute()]
  2109.         private Microsoft.SharePoint.Linq.LookupList<System.Nullable<int>> _usersWithRightsToDeleteItemsFromPlaylistId;
  2110.        
  2111.         [System.Runtime.Serialization.DataMemberAttribute()]
  2112.         private Microsoft.SharePoint.Linq.LookupList<string> _usersWithRightsToDeleteItemsFromPlaylist;
  2113.        
  2114.         [System.Runtime.Serialization.DataMemberAttribute()]
  2115.         private Microsoft.SharePoint.Linq.LookupList<System.Nullable<int>> _bannedUsersId;
  2116.        
  2117.         [System.Runtime.Serialization.DataMemberAttribute()]
  2118.         private Microsoft.SharePoint.Linq.LookupList<string> _bannedUsers;
  2119.        
  2120.         #region Extensibility Method Definitions
  2121.         partial void OnLoaded();
  2122.         partial void OnValidate();
  2123.         partial void OnCreated();
  2124.         #endregion
  2125.        
  2126.         public PlayList() {
  2127.             this._usersWithRightsToAddItemsToPlaylistId = new Microsoft.SharePoint.Linq.LookupList<System.Nullable<int>>();
  2128.             this._usersWithRightsToAddItemsToPlaylist = new Microsoft.SharePoint.Linq.LookupList<string>();
  2129.             this._usersWithRightsToCommentOnItemsInPlaylistId = new Microsoft.SharePoint.Linq.LookupList<System.Nullable<int>>();
  2130.             this._usersWithRightsToCommentOnItemsInPlaylist = new Microsoft.SharePoint.Linq.LookupList<string>();
  2131.             this._usersWithRightsToDeleteItemsFromPlaylistId = new Microsoft.SharePoint.Linq.LookupList<System.Nullable<int>>();
  2132.             this._usersWithRightsToDeleteItemsFromPlaylist = new Microsoft.SharePoint.Linq.LookupList<string>();
  2133.             this._bannedUsersId = new Microsoft.SharePoint.Linq.LookupList<System.Nullable<int>>();
  2134.             this._bannedUsers = new Microsoft.SharePoint.Linq.LookupList<string>();
  2135.             this.Initialize();
  2136.         }
  2137.        
  2138.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="PLDescription", Storage="_playListDescription", FieldType="Text")]
  2139.         public string PlayListDescription {
  2140.             get {
  2141.                 return this._playListDescription;
  2142.             }
  2143.             set {
  2144.                 if ((value != this._playListDescription)) {
  2145.                     this.OnPropertyChanging("PlayListDescription", this._playListDescription);
  2146.                     this._playListDescription = value;
  2147.                     this.OnPropertyChanged("PlayListDescription");
  2148.                 }
  2149.             }
  2150.         }
  2151.        
  2152.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="Author", Storage="_author", FieldType="Text")]
  2153.         public virtual string Author {
  2154.             get {
  2155.                 return this._author;
  2156.             }
  2157.             set {
  2158.                 if ((value != this._author)) {
  2159.                     this.OnPropertyChanging("Author", this._author);
  2160.                     this._author = value;
  2161.                     this.OnPropertyChanged("Author");
  2162.                 }
  2163.             }
  2164.         }
  2165.        
  2166.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="UsersAdd", Storage="_usersWithRightsToAddItemsToPlaylistId", FieldType="User", IsLookupId=true)]
  2167.         public System.Collections.Generic.IList<System.Nullable<int>> UsersWithRightsToAddItemsToPlaylistId {
  2168.             get {
  2169.                 return this._usersWithRightsToAddItemsToPlaylistId;
  2170.             }
  2171.             set {
  2172.                 this._usersWithRightsToAddItemsToPlaylistId.Assign(value);
  2173.             }
  2174.         }
  2175.        
  2176.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="UsersAdd", Storage="_usersWithRightsToAddItemsToPlaylist", ReadOnly=true, FieldType="User", IsLookupValue=true)]
  2177.         public System.Collections.Generic.IList<string> UsersWithRightsToAddItemsToPlaylist {
  2178.             get {
  2179.                 return this._usersWithRightsToAddItemsToPlaylist;
  2180.             }
  2181.             set {
  2182.                 this._usersWithRightsToAddItemsToPlaylist.Assign(value);
  2183.             }
  2184.         }
  2185.        
  2186.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="UsersComment", Storage="_usersWithRightsToCommentOnItemsInPlaylistId", FieldType="User", IsLookupId=true)]
  2187.         public System.Collections.Generic.IList<System.Nullable<int>> UsersWithRightsToCommentOnItemsInPlaylistId {
  2188.             get {
  2189.                 return this._usersWithRightsToCommentOnItemsInPlaylistId;
  2190.             }
  2191.             set {
  2192.                 this._usersWithRightsToCommentOnItemsInPlaylistId.Assign(value);
  2193.             }
  2194.         }
  2195.        
  2196.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="UsersComment", Storage="_usersWithRightsToCommentOnItemsInPlaylist", ReadOnly=true, FieldType="User", IsLookupValue=true)]
  2197.         public System.Collections.Generic.IList<string> UsersWithRightsToCommentOnItemsInPlaylist {
  2198.             get {
  2199.                 return this._usersWithRightsToCommentOnItemsInPlaylist;
  2200.             }
  2201.             set {
  2202.                 this._usersWithRightsToCommentOnItemsInPlaylist.Assign(value);
  2203.             }
  2204.         }
  2205.        
  2206.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="UsersDelete", Storage="_usersWithRightsToDeleteItemsFromPlaylistId", FieldType="User", IsLookupId=true)]
  2207.         public System.Collections.Generic.IList<System.Nullable<int>> UsersWithRightsToDeleteItemsFromPlaylistId {
  2208.             get {
  2209.                 return this._usersWithRightsToDeleteItemsFromPlaylistId;
  2210.             }
  2211.             set {
  2212.                 this._usersWithRightsToDeleteItemsFromPlaylistId.Assign(value);
  2213.             }
  2214.         }
  2215.        
  2216.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="UsersDelete", Storage="_usersWithRightsToDeleteItemsFromPlaylist", ReadOnly=true, FieldType="User", IsLookupValue=true)]
  2217.         public System.Collections.Generic.IList<string> UsersWithRightsToDeleteItemsFromPlaylist {
  2218.             get {
  2219.                 return this._usersWithRightsToDeleteItemsFromPlaylist;
  2220.             }
  2221.             set {
  2222.                 this._usersWithRightsToDeleteItemsFromPlaylist.Assign(value);
  2223.             }
  2224.         }
  2225.        
  2226.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="BannedUsers", Storage="_bannedUsersId", FieldType="User", IsLookupId=true)]
  2227.         public System.Collections.Generic.IList<System.Nullable<int>> BannedUsersId {
  2228.             get {
  2229.                 return this._bannedUsersId;
  2230.             }
  2231.             set {
  2232.                 this._bannedUsersId.Assign(value);
  2233.             }
  2234.         }
  2235.        
  2236.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="BannedUsers", Storage="_bannedUsers", ReadOnly=true, FieldType="User", IsLookupValue=true)]
  2237.         public System.Collections.Generic.IList<string> BannedUsers {
  2238.             get {
  2239.                 return this._bannedUsers;
  2240.             }
  2241.             set {
  2242.                 this._bannedUsers.Assign(value);
  2243.             }
  2244.         }
  2245.        
  2246.         private void Initialize() {
  2247.             this._usersWithRightsToAddItemsToPlaylistId.OnChanged += new System.EventHandler(this.OnUsersWithRightsToAddItemsToPlaylistIdChanged);
  2248.             this._usersWithRightsToAddItemsToPlaylistId.OnChanging += new System.EventHandler(this.OnUsersWithRightsToAddItemsToPlaylistIdChanging);
  2249.             this._usersWithRightsToAddItemsToPlaylist.OnChanged += new System.EventHandler(this.OnUsersWithRightsToAddItemsToPlaylistChanged);
  2250.             this._usersWithRightsToAddItemsToPlaylist.OnChanging += new System.EventHandler(this.OnUsersWithRightsToAddItemsToPlaylistChanging);
  2251.             this._usersWithRightsToCommentOnItemsInPlaylistId.OnChanged += new System.EventHandler(this.OnUsersWithRightsToCommentOnItemsInPlaylistIdChanged);
  2252.             this._usersWithRightsToCommentOnItemsInPlaylistId.OnChanging += new System.EventHandler(this.OnUsersWithRightsToCommentOnItemsInPlaylistIdChanging);
  2253.             this._usersWithRightsToCommentOnItemsInPlaylist.OnChanged += new System.EventHandler(this.OnUsersWithRightsToCommentOnItemsInPlaylistChanged);
  2254.             this._usersWithRightsToCommentOnItemsInPlaylist.OnChanging += new System.EventHandler(this.OnUsersWithRightsToCommentOnItemsInPlaylistChanging);
  2255.             this._usersWithRightsToDeleteItemsFromPlaylistId.OnChanged += new System.EventHandler(this.OnUsersWithRightsToDeleteItemsFromPlaylistIdChanged);
  2256.             this._usersWithRightsToDeleteItemsFromPlaylistId.OnChanging += new System.EventHandler(this.OnUsersWithRightsToDeleteItemsFromPlaylistIdChanging);
  2257.             this._usersWithRightsToDeleteItemsFromPlaylist.OnChanged += new System.EventHandler(this.OnUsersWithRightsToDeleteItemsFromPlaylistChanged);
  2258.             this._usersWithRightsToDeleteItemsFromPlaylist.OnChanging += new System.EventHandler(this.OnUsersWithRightsToDeleteItemsFromPlaylistChanging);
  2259.             this._bannedUsersId.OnChanged += new System.EventHandler(this.OnBannedUsersIdChanged);
  2260.             this._bannedUsersId.OnChanging += new System.EventHandler(this.OnBannedUsersIdChanging);
  2261.             this._bannedUsers.OnChanged += new System.EventHandler(this.OnBannedUsersChanged);
  2262.             this._bannedUsers.OnChanging += new System.EventHandler(this.OnBannedUsersChanging);
  2263.             this.OnCreated();
  2264.         }
  2265.        
  2266.         [System.Runtime.Serialization.OnDeserializedAttribute()]
  2267.         private void OnDeserialized(System.Runtime.Serialization.StreamingContext context) {
  2268.             this.Initialize();
  2269.         }
  2270.        
  2271.         private void OnUsersWithRightsToAddItemsToPlaylistIdChanging(object sender, System.EventArgs e) {
  2272.             this.OnPropertyChanging("UsersWithRightsToAddItemsToPlaylistId", this._usersWithRightsToAddItemsToPlaylistId.Clone());
  2273.         }
  2274.        
  2275.         private void OnUsersWithRightsToAddItemsToPlaylistIdChanged(object sender, System.EventArgs e) {
  2276.             this.OnPropertyChanged("UsersWithRightsToAddItemsToPlaylistId");
  2277.         }
  2278.        
  2279.         private void OnUsersWithRightsToAddItemsToPlaylistChanging(object sender, System.EventArgs e) {
  2280.             this.OnPropertyChanging("UsersWithRightsToAddItemsToPlaylist", this._usersWithRightsToAddItemsToPlaylist.Clone());
  2281.         }
  2282.        
  2283.         private void OnUsersWithRightsToAddItemsToPlaylistChanged(object sender, System.EventArgs e) {
  2284.             this.OnPropertyChanged("UsersWithRightsToAddItemsToPlaylist");
  2285.         }
  2286.        
  2287.         private void OnUsersWithRightsToCommentOnItemsInPlaylistIdChanging(object sender, System.EventArgs e) {
  2288.             this.OnPropertyChanging("UsersWithRightsToCommentOnItemsInPlaylistId", this._usersWithRightsToCommentOnItemsInPlaylistId.Clone());
  2289.         }
  2290.        
  2291.         private void OnUsersWithRightsToCommentOnItemsInPlaylistIdChanged(object sender, System.EventArgs e) {
  2292.             this.OnPropertyChanged("UsersWithRightsToCommentOnItemsInPlaylistId");
  2293.         }
  2294.        
  2295.         private void OnUsersWithRightsToCommentOnItemsInPlaylistChanging(object sender, System.EventArgs e) {
  2296.             this.OnPropertyChanging("UsersWithRightsToCommentOnItemsInPlaylist", this._usersWithRightsToCommentOnItemsInPlaylist.Clone());
  2297.         }
  2298.        
  2299.         private void OnUsersWithRightsToCommentOnItemsInPlaylistChanged(object sender, System.EventArgs e) {
  2300.             this.OnPropertyChanged("UsersWithRightsToCommentOnItemsInPlaylist");
  2301.         }
  2302.        
  2303.         private void OnUsersWithRightsToDeleteItemsFromPlaylistIdChanging(object sender, System.EventArgs e) {
  2304.             this.OnPropertyChanging("UsersWithRightsToDeleteItemsFromPlaylistId", this._usersWithRightsToDeleteItemsFromPlaylistId.Clone());
  2305.         }
  2306.        
  2307.         private void OnUsersWithRightsToDeleteItemsFromPlaylistIdChanged(object sender, System.EventArgs e) {
  2308.             this.OnPropertyChanged("UsersWithRightsToDeleteItemsFromPlaylistId");
  2309.         }
  2310.        
  2311.         private void OnUsersWithRightsToDeleteItemsFromPlaylistChanging(object sender, System.EventArgs e) {
  2312.             this.OnPropertyChanging("UsersWithRightsToDeleteItemsFromPlaylist", this._usersWithRightsToDeleteItemsFromPlaylist.Clone());
  2313.         }
  2314.        
  2315.         private void OnUsersWithRightsToDeleteItemsFromPlaylistChanged(object sender, System.EventArgs e) {
  2316.             this.OnPropertyChanged("UsersWithRightsToDeleteItemsFromPlaylist");
  2317.         }
  2318.        
  2319.         private void OnBannedUsersIdChanging(object sender, System.EventArgs e) {
  2320.             this.OnPropertyChanging("BannedUsersId", this._bannedUsersId.Clone());
  2321.         }
  2322.        
  2323.         private void OnBannedUsersIdChanged(object sender, System.EventArgs e) {
  2324.             this.OnPropertyChanged("BannedUsersId");
  2325.         }
  2326.        
  2327.         private void OnBannedUsersChanging(object sender, System.EventArgs e) {
  2328.             this.OnPropertyChanging("BannedUsers", this._bannedUsers.Clone());
  2329.         }
  2330.        
  2331.         private void OnBannedUsersChanged(object sender, System.EventArgs e) {
  2332.             this.OnPropertyChanged("BannedUsers");
  2333.         }
  2334.     }
  2335.    
  2336.     /// <summary>
  2337.     /// PlayList item content type.
  2338.     /// </summary>
  2339.     [Microsoft.SharePoint.Linq.ContentTypeAttribute(Name="PlayList Item", Id="0x0100A4A99E0423EA4A65B90E0431FC8FCD55")]
  2340.     [Microsoft.SharePoint.Linq.DerivedEntityClassAttribute(Type=typeof(PlayListItemListPlayListItem))]
  2341.     [System.Runtime.Serialization.DataContractAttribute()]
  2342.     public partial class PlayListItem : Item {
  2343.        
  2344.         [System.Runtime.Serialization.DataMemberAttribute()]
  2345.         private string _author;
  2346.        
  2347.         [System.Runtime.Serialization.DataMemberAttribute()]
  2348.         private string _comment;
  2349.        
  2350.         [System.Runtime.Serialization.DataMemberAttribute()]
  2351.         private string _commentBy;
  2352.        
  2353.         [System.Runtime.Serialization.DataMemberAttribute()]
  2354.         private System.Nullable<double> _ordering;
  2355.        
  2356.         [System.Runtime.Serialization.DataMemberAttribute()]
  2357.         private System.Nullable<int> _playListId;
  2358.        
  2359.         [System.Runtime.Serialization.DataMemberAttribute()]
  2360.         private string _playListTitle;
  2361.        
  2362.         [System.Runtime.Serialization.DataMemberAttribute()]
  2363.         private System.Nullable<int> _videoTitleId;
  2364.        
  2365.         [System.Runtime.Serialization.DataMemberAttribute()]
  2366.         private string _videoTitleTitle;
  2367.        
  2368.         #region Extensibility Method Definitions
  2369.         partial void OnLoaded();
  2370.         partial void OnValidate();
  2371.         partial void OnCreated();
  2372.         #endregion
  2373.        
  2374.         public PlayListItem() {
  2375.             this.Initialize();
  2376.         }
  2377.        
  2378.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="Author", Storage="_author", FieldType="Text")]
  2379.         public virtual string Author {
  2380.             get {
  2381.                 return this._author;
  2382.             }
  2383.             set {
  2384.                 if ((value != this._author)) {
  2385.                     this.OnPropertyChanging("Author", this._author);
  2386.                     this._author = value;
  2387.                     this.OnPropertyChanged("Author");
  2388.                 }
  2389.             }
  2390.         }
  2391.        
  2392.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="Comment", Storage="_comment", FieldType="Text")]
  2393.         public string Comment {
  2394.             get {
  2395.                 return this._comment;
  2396.             }
  2397.             set {
  2398.                 if ((value != this._comment)) {
  2399.                     this.OnPropertyChanging("Comment", this._comment);
  2400.                     this._comment = value;
  2401.                     this.OnPropertyChanged("Comment");
  2402.                 }
  2403.             }
  2404.         }
  2405.        
  2406.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="CommentBy", Storage="_commentBy", FieldType="Text")]
  2407.         public string CommentBy {
  2408.             get {
  2409.                 return this._commentBy;
  2410.             }
  2411.             set {
  2412.                 if ((value != this._commentBy)) {
  2413.                     this.OnPropertyChanging("CommentBy", this._commentBy);
  2414.                     this._commentBy = value;
  2415.                     this.OnPropertyChanged("CommentBy");
  2416.                 }
  2417.             }
  2418.         }
  2419.        
  2420.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="Ordering", Storage="_ordering", FieldType="Number")]
  2421.         public System.Nullable<double> Ordering {
  2422.             get {
  2423.                 return this._ordering;
  2424.             }
  2425.             set {
  2426.                 if ((value != this._ordering)) {
  2427.                     this.OnPropertyChanging("Ordering", this._ordering);
  2428.                     this._ordering = value;
  2429.                     this.OnPropertyChanged("Ordering");
  2430.                 }
  2431.             }
  2432.         }
  2433.        
  2434.         [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
  2435.         [Microsoft.SharePoint.Linq.RemovedColumnAttribute()]
  2436.         public override string EncodingQueueStatus {
  2437.             get {
  2438.                 throw new System.InvalidOperationException("Field Title was removed from content type PlayList Item.");
  2439.             }
  2440.             set {
  2441.                 throw new System.InvalidOperationException("Field Title was removed from content type PlayList Item.");
  2442.             }
  2443.         }
  2444.        
  2445.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="LUPlaylistName", Storage="_playListId", FieldType="Lookup", IsLookupId=true)]
  2446.         public System.Nullable<int> PlayListId {
  2447.             get {
  2448.                 return this._playListId;
  2449.             }
  2450.             set {
  2451.                 if ((value != this._playListId)) {
  2452.                     this.OnPropertyChanging("PlayListId", this._playListId);
  2453.                     this._playListId = value;
  2454.                     this.OnPropertyChanged("PlayListId");
  2455.                 }
  2456.             }
  2457.         }
  2458.        
  2459.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="LUPlaylistName", Storage="_playListTitle", ReadOnly=true, FieldType="Lookup", IsLookupValue=true)]
  2460.         public string PlayListTitle {
  2461.             get {
  2462.                 return this._playListTitle;
  2463.             }
  2464.             set {
  2465.                 if ((value != this._playListTitle)) {
  2466.                     this.OnPropertyChanging("PlayListTitle", this._playListTitle);
  2467.                     this._playListTitle = value;
  2468.                     this.OnPropertyChanged("PlayListTitle");
  2469.                 }
  2470.             }
  2471.         }
  2472.        
  2473.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="LUVideoName", Storage="_videoTitleId", FieldType="Lookup", IsLookupId=true)]
  2474.         public System.Nullable<int> VideoTitleId {
  2475.             get {
  2476.                 return this._videoTitleId;
  2477.             }
  2478.             set {
  2479.                 if ((value != this._videoTitleId)) {
  2480.                     this.OnPropertyChanging("VideoTitleId", this._videoTitleId);
  2481.                     this._videoTitleId = value;
  2482.                     this.OnPropertyChanged("VideoTitleId");
  2483.                 }
  2484.             }
  2485.         }
  2486.        
  2487.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="LUVideoName", Storage="_videoTitleTitle", ReadOnly=true, FieldType="Lookup", IsLookupValue=true)]
  2488.         public string VideoTitleTitle {
  2489.             get {
  2490.                 return this._videoTitleTitle;
  2491.             }
  2492.             set {
  2493.                 if ((value != this._videoTitleTitle)) {
  2494.                     this.OnPropertyChanging("VideoTitleTitle", this._videoTitleTitle);
  2495.                     this._videoTitleTitle = value;
  2496.                     this.OnPropertyChanged("VideoTitleTitle");
  2497.                 }
  2498.             }
  2499.         }
  2500.        
  2501.         private void Initialize() {
  2502.             this.OnCreated();
  2503.         }
  2504.        
  2505.         [System.Runtime.Serialization.OnDeserializedAttribute()]
  2506.         private void OnDeserialized(System.Runtime.Serialization.StreamingContext context) {
  2507.             this.Initialize();
  2508.         }
  2509.     }
  2510.    
  2511.     /// <summary>
  2512.     /// Encoding Priority item content type.
  2513.     /// </summary>
  2514.     [Microsoft.SharePoint.Linq.ContentTypeAttribute(Name="Encoding Priority Item", Id="0x0100DD30EC6EA5C0468881167271526191D9")]
  2515.     [System.Runtime.Serialization.DataContractAttribute()]
  2516.     public partial class EncodingPriorityItem : Item {
  2517.        
  2518.         [System.Runtime.Serialization.DataMemberAttribute()]
  2519.         private string _description;
  2520.        
  2521.         [System.Runtime.Serialization.DataMemberAttribute()]
  2522.         private System.Nullable<double> _priority;
  2523.        
  2524.         #region Extensibility Method Definitions
  2525.         partial void OnLoaded();
  2526.         partial void OnValidate();
  2527.         partial void OnCreated();
  2528.         #endregion
  2529.        
  2530.         public EncodingPriorityItem() {
  2531.             this.Initialize();
  2532.         }
  2533.        
  2534.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="Description", Storage="_description", FieldType="Text")]
  2535.         public string Description {
  2536.             get {
  2537.                 return this._description;
  2538.             }
  2539.             set {
  2540.                 if ((value != this._description)) {
  2541.                     this.OnPropertyChanging("Description", this._description);
  2542.                     this._description = value;
  2543.                     this.OnPropertyChanged("Description");
  2544.                 }
  2545.             }
  2546.         }
  2547.        
  2548.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="Priority", Storage="_priority", FieldType="Number")]
  2549.         public System.Nullable<double> Priority {
  2550.             get {
  2551.                 return this._priority;
  2552.             }
  2553.             set {
  2554.                 if ((value != this._priority)) {
  2555.                     this.OnPropertyChanging("Priority", this._priority);
  2556.                     this._priority = value;
  2557.                     this.OnPropertyChanged("Priority");
  2558.                 }
  2559.             }
  2560.         }
  2561.        
  2562.         [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
  2563.         [Microsoft.SharePoint.Linq.RemovedColumnAttribute()]
  2564.         public override string EncodingQueueStatus {
  2565.             get {
  2566.                 throw new System.InvalidOperationException("Field Title was removed from content type Encoding Priority Item.");
  2567.             }
  2568.             set {
  2569.                 throw new System.InvalidOperationException("Field Title was removed from content type Encoding Priority Item.");
  2570.             }
  2571.         }
  2572.        
  2573.         private void Initialize() {
  2574.             this.OnCreated();
  2575.         }
  2576.        
  2577.         [System.Runtime.Serialization.OnDeserializedAttribute()]
  2578.         private void OnDeserialized(System.Runtime.Serialization.StreamingContext context) {
  2579.             this.Initialize();
  2580.         }
  2581.     }
  2582.    
  2583.     /// <summary>
  2584.     /// Video Category item content type.
  2585.     /// </summary>
  2586.     [Microsoft.SharePoint.Linq.ContentTypeAttribute(Name="Video Category Item", Id="0x0100B73A32181B1340C49A7B4430F5B7FADA")]
  2587.     [System.Runtime.Serialization.DataContractAttribute()]
  2588.     public partial class VideoCategoryItem : Item {
  2589.        
  2590.         [System.Runtime.Serialization.DataMemberAttribute()]
  2591.         private string _videoCategoryDescription;
  2592.        
  2593.         #region Extensibility Method Definitions
  2594.         partial void OnLoaded();
  2595.         partial void OnValidate();
  2596.         partial void OnCreated();
  2597.         #endregion
  2598.        
  2599.         public VideoCategoryItem() {
  2600.             this.Initialize();
  2601.         }
  2602.        
  2603.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="Video Category Description", Storage="_videoCategoryDescription", FieldType="Text")]
  2604.         public string VideoCategoryDescription {
  2605.             get {
  2606.                 return this._videoCategoryDescription;
  2607.             }
  2608.             set {
  2609.                 if ((value != this._videoCategoryDescription)) {
  2610.                     this.OnPropertyChanging("VideoCategoryDescription", this._videoCategoryDescription);
  2611.                     this._videoCategoryDescription = value;
  2612.                     this.OnPropertyChanged("VideoCategoryDescription");
  2613.                 }
  2614.             }
  2615.         }
  2616.        
  2617.         private void Initialize() {
  2618.             this.OnCreated();
  2619.         }
  2620.        
  2621.         [System.Runtime.Serialization.OnDeserializedAttribute()]
  2622.         private void OnDeserialized(System.Runtime.Serialization.StreamingContext context) {
  2623.             this.Initialize();
  2624.         }
  2625.     }
  2626.    
  2627.     /// <summary>
  2628.     /// Video comment item content type.
  2629.     /// </summary>
  2630.     [Microsoft.SharePoint.Linq.ContentTypeAttribute(Name="Video Comment Item", Id="0x01008FBF9ADAFF6A45A0A88CC0C5D557F453")]
  2631.     [Microsoft.SharePoint.Linq.DerivedEntityClassAttribute(Type=typeof(VideoCommentsListVideoCommentItem))]
  2632.     [System.Runtime.Serialization.DataContractAttribute()]
  2633.     public partial class VideoCommentItem : Item {
  2634.        
  2635.         [System.Runtime.Serialization.DataMemberAttribute()]
  2636.         private string _videoComment;
  2637.        
  2638.         [System.Runtime.Serialization.DataMemberAttribute()]
  2639.         private string _author;
  2640.        
  2641.         [System.Runtime.Serialization.DataMemberAttribute()]
  2642.         private System.Nullable<int> _videoTitleId;
  2643.        
  2644.         [System.Runtime.Serialization.DataMemberAttribute()]
  2645.         private string _videoTitleTitle;
  2646.        
  2647.         #region Extensibility Method Definitions
  2648.         partial void OnLoaded();
  2649.         partial void OnValidate();
  2650.         partial void OnCreated();
  2651.         #endregion
  2652.        
  2653.         public VideoCommentItem() {
  2654.             this.Initialize();
  2655.         }
  2656.        
  2657.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="Video Comment", Storage="_videoComment", FieldType="Text")]
  2658.         public string VideoComment {
  2659.             get {
  2660.                 return this._videoComment;
  2661.             }
  2662.             set {
  2663.                 if ((value != this._videoComment)) {
  2664.                     this.OnPropertyChanging("VideoComment", this._videoComment);
  2665.                     this._videoComment = value;
  2666.                     this.OnPropertyChanged("VideoComment");
  2667.                 }
  2668.             }
  2669.         }
  2670.        
  2671.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="Author", Storage="_author", FieldType="Text")]
  2672.         public virtual string Author {
  2673.             get {
  2674.                 return this._author;
  2675.             }
  2676.             set {
  2677.                 if ((value != this._author)) {
  2678.                     this.OnPropertyChanging("Author", this._author);
  2679.                     this._author = value;
  2680.                     this.OnPropertyChanged("Author");
  2681.                 }
  2682.             }
  2683.         }
  2684.        
  2685.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="VideoDesc", Storage="_videoTitleId", FieldType="Lookup", IsLookupId=true)]
  2686.         public System.Nullable<int> VideoTitleId {
  2687.             get {
  2688.                 return this._videoTitleId;
  2689.             }
  2690.             set {
  2691.                 if ((value != this._videoTitleId)) {
  2692.                     this.OnPropertyChanging("VideoTitleId", this._videoTitleId);
  2693.                     this._videoTitleId = value;
  2694.                     this.OnPropertyChanged("VideoTitleId");
  2695.                 }
  2696.             }
  2697.         }
  2698.        
  2699.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="VideoDesc", Storage="_videoTitleTitle", ReadOnly=true, FieldType="Lookup", IsLookupValue=true)]
  2700.         public string VideoTitleTitle {
  2701.             get {
  2702.                 return this._videoTitleTitle;
  2703.             }
  2704.             set {
  2705.                 if ((value != this._videoTitleTitle)) {
  2706.                     this.OnPropertyChanging("VideoTitleTitle", this._videoTitleTitle);
  2707.                     this._videoTitleTitle = value;
  2708.                     this.OnPropertyChanged("VideoTitleTitle");
  2709.                 }
  2710.             }
  2711.         }
  2712.        
  2713.         private void Initialize() {
  2714.             this.OnCreated();
  2715.         }
  2716.        
  2717.         [System.Runtime.Serialization.OnDeserializedAttribute()]
  2718.         private void OnDeserialized(System.Runtime.Serialization.StreamingContext context) {
  2719.             this.Initialize();
  2720.         }
  2721.     }
  2722.    
  2723.     /// <summary>
  2724.     /// Video item content type.
  2725.     /// </summary>
  2726.     [Microsoft.SharePoint.Linq.ContentTypeAttribute(Name="Video Item", Id="0x010089E3E6DB8C9B4B3FBB980447E313CE94")]
  2727.     [Microsoft.SharePoint.Linq.DerivedEntityClassAttribute(Type=typeof(VideoListVideoItem))]
  2728.     [System.Runtime.Serialization.DataContractAttribute()]
  2729.     public partial class VideoItem : Item {
  2730.        
  2731.         [System.Runtime.Serialization.DataMemberAttribute()]
  2732.         private string _videoGUID;
  2733.        
  2734.         [System.Runtime.Serialization.DataMemberAttribute()]
  2735.         private string _videoExtension;
  2736.        
  2737.         [System.Runtime.Serialization.DataMemberAttribute()]
  2738.         private string _videoDescription;
  2739.        
  2740.         [System.Runtime.Serialization.DataMemberAttribute()]
  2741.         private string _author;
  2742.        
  2743.         [System.Runtime.Serialization.DataMemberAttribute()]
  2744.         private System.Nullable<double> _numberOfViews;
  2745.        
  2746.         [System.Runtime.Serialization.DataMemberAttribute()]
  2747.         private System.Nullable<double> _rating;
  2748.        
  2749.         [System.Runtime.Serialization.DataMemberAttribute()]
  2750.         private System.Nullable<bool> _inappropriate;
  2751.        
  2752.         [System.Runtime.Serialization.DataMemberAttribute()]
  2753.         private System.Nullable<double> _videoWidth;
  2754.        
  2755.         [System.Runtime.Serialization.DataMemberAttribute()]
  2756.         private System.Nullable<int> _videoCategoryId;
  2757.        
  2758.         [System.Runtime.Serialization.DataMemberAttribute()]
  2759.         private string _videoCategoryTitle;
  2760.        
  2761.         #region Extensibility Method Definitions
  2762.         partial void OnLoaded();
  2763.         partial void OnValidate();
  2764.         partial void OnCreated();
  2765.         #endregion
  2766.        
  2767.         public VideoItem() {
  2768.             this.Initialize();
  2769.         }
  2770.        
  2771.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="Video GUID", Storage="_videoGUID", FieldType="Text")]
  2772.         public string VideoGUID {
  2773.             get {
  2774.                 return this._videoGUID;
  2775.             }
  2776.             set {
  2777.                 if ((value != this._videoGUID)) {
  2778.                     this.OnPropertyChanging("VideoGUID", this._videoGUID);
  2779.                     this._videoGUID = value;
  2780.                     this.OnPropertyChanged("VideoGUID");
  2781.                 }
  2782.             }
  2783.         }
  2784.        
  2785.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="Video Extension", Storage="_videoExtension", FieldType="Text")]
  2786.         public string VideoExtension {
  2787.             get {
  2788.                 return this._videoExtension;
  2789.             }
  2790.             set {
  2791.                 if ((value != this._videoExtension)) {
  2792.                     this.OnPropertyChanging("VideoExtension", this._videoExtension);
  2793.                     this._videoExtension = value;
  2794.                     this.OnPropertyChanged("VideoExtension");
  2795.                 }
  2796.             }
  2797.         }
  2798.        
  2799.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="Video Description", Storage="_videoDescription", FieldType="Text")]
  2800.         public string VideoDescription {
  2801.             get {
  2802.                 return this._videoDescription;
  2803.             }
  2804.             set {
  2805.                 if ((value != this._videoDescription)) {
  2806.                     this.OnPropertyChanging("VideoDescription", this._videoDescription);
  2807.                     this._videoDescription = value;
  2808.                     this.OnPropertyChanged("VideoDescription");
  2809.                 }
  2810.             }
  2811.         }
  2812.        
  2813.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="Author", Storage="_author", FieldType="Text")]
  2814.         public virtual string Author {
  2815.             get {
  2816.                 return this._author;
  2817.             }
  2818.             set {
  2819.                 if ((value != this._author)) {
  2820.                     this.OnPropertyChanging("Author", this._author);
  2821.                     this._author = value;
  2822.                     this.OnPropertyChanged("Author");
  2823.                 }
  2824.             }
  2825.         }
  2826.        
  2827.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="Number of Views", Storage="_numberOfViews", FieldType="Number")]
  2828.         public System.Nullable<double> NumberOfViews {
  2829.             get {
  2830.                 return this._numberOfViews;
  2831.             }
  2832.             set {
  2833.                 if ((value != this._numberOfViews)) {
  2834.                     this.OnPropertyChanging("NumberOfViews", this._numberOfViews);
  2835.                     this._numberOfViews = value;
  2836.                     this.OnPropertyChanged("NumberOfViews");
  2837.                 }
  2838.             }
  2839.         }
  2840.        
  2841.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="Rating", Storage="_rating", FieldType="Number")]
  2842.         public System.Nullable<double> Rating {
  2843.             get {
  2844.                 return this._rating;
  2845.             }
  2846.             set {
  2847.                 if ((value != this._rating)) {
  2848.                     this.OnPropertyChanging("Rating", this._rating);
  2849.                     this._rating = value;
  2850.                     this.OnPropertyChanged("Rating");
  2851.                 }
  2852.             }
  2853.         }
  2854.        
  2855.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="Inappropriate", Storage="_inappropriate", FieldType="Boolean")]
  2856.         public System.Nullable<bool> Inappropriate {
  2857.             get {
  2858.                 return this._inappropriate;
  2859.             }
  2860.             set {
  2861.                 if ((value != this._inappropriate)) {
  2862.                     this.OnPropertyChanging("Inappropriate", this._inappropriate);
  2863.                     this._inappropriate = value;
  2864.                     this.OnPropertyChanged("Inappropriate");
  2865.                 }
  2866.             }
  2867.         }
  2868.        
  2869.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="Video Width", Storage="_videoWidth", FieldType="Number")]
  2870.         public System.Nullable<double> VideoWidth {
  2871.             get {
  2872.                 return this._videoWidth;
  2873.             }
  2874.             set {
  2875.                 if ((value != this._videoWidth)) {
  2876.                     this.OnPropertyChanging("VideoWidth", this._videoWidth);
  2877.                     this._videoWidth = value;
  2878.                     this.OnPropertyChanged("VideoWidth");
  2879.                 }
  2880.             }
  2881.         }
  2882.        
  2883.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="VideoCategory", Storage="_videoCategoryId", FieldType="Lookup", IsLookupId=true)]
  2884.         public System.Nullable<int> VideoCategoryId {
  2885.             get {
  2886.                 return this._videoCategoryId;
  2887.             }
  2888.             set {
  2889.                 if ((value != this._videoCategoryId)) {
  2890.                     this.OnPropertyChanging("VideoCategoryId", this._videoCategoryId);
  2891.                     this._videoCategoryId = value;
  2892.                     this.OnPropertyChanged("VideoCategoryId");
  2893.                 }
  2894.             }
  2895.         }
  2896.        
  2897.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="VideoCategory", Storage="_videoCategoryTitle", ReadOnly=true, FieldType="Lookup", IsLookupValue=true)]
  2898.         public string VideoCategoryTitle {
  2899.             get {
  2900.                 return this._videoCategoryTitle;
  2901.             }
  2902.             set {
  2903.                 if ((value != this._videoCategoryTitle)) {
  2904.                     this.OnPropertyChanging("VideoCategoryTitle", this._videoCategoryTitle);
  2905.                     this._videoCategoryTitle = value;
  2906.                     this.OnPropertyChanged("VideoCategoryTitle");
  2907.                 }
  2908.             }
  2909.         }
  2910.        
  2911.         private void Initialize() {
  2912.             this.OnCreated();
  2913.         }
  2914.        
  2915.         [System.Runtime.Serialization.OnDeserializedAttribute()]
  2916.         private void OnDeserialized(System.Runtime.Serialization.StreamingContext context) {
  2917.             this.Initialize();
  2918.         }
  2919.     }
  2920.    
  2921.     /// <summary>
  2922.     /// Video quality item content type.
  2923.     /// </summary>
  2924.     [Microsoft.SharePoint.Linq.ContentTypeAttribute(Name="Video Quality Item", Id="0x0100B46612198BB748CBA0CB1DAFAB91DD05")]
  2925.     [System.Runtime.Serialization.DataContractAttribute()]
  2926.     public partial class VideoQualityItem : Item {
  2927.        
  2928.         [System.Runtime.Serialization.DataMemberAttribute()]
  2929.         private string _videoQuality;
  2930.        
  2931.         #region Extensibility Method Definitions
  2932.         partial void OnLoaded();
  2933.         partial void OnValidate();
  2934.         partial void OnCreated();
  2935.         #endregion
  2936.        
  2937.         public VideoQualityItem() {
  2938.             this.Initialize();
  2939.         }
  2940.        
  2941.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="Video Quality", Storage="_videoQuality", FieldType="Text")]
  2942.         public string VideoQuality {
  2943.             get {
  2944.                 return this._videoQuality;
  2945.             }
  2946.             set {
  2947.                 if ((value != this._videoQuality)) {
  2948.                     this.OnPropertyChanging("VideoQuality", this._videoQuality);
  2949.                     this._videoQuality = value;
  2950.                     this.OnPropertyChanged("VideoQuality");
  2951.                 }
  2952.             }
  2953.         }
  2954.        
  2955.         private void Initialize() {
  2956.             this.OnCreated();
  2957.         }
  2958.        
  2959.         [System.Runtime.Serialization.OnDeserializedAttribute()]
  2960.         private void OnDeserialized(System.Runtime.Serialization.StreamingContext context) {
  2961.             this.Initialize();
  2962.         }
  2963.     }
  2964.    
  2965.     /// <summary>
  2966.     /// Video Thumbnail item content type.
  2967.     /// </summary>
  2968.     [Microsoft.SharePoint.Linq.ContentTypeAttribute(Name="Video Thumbnail Item", Id="0x01002872B114808F420398515E220D3B50B5")]
  2969.     [System.Runtime.Serialization.DataContractAttribute()]
  2970.     public partial class VideoThumbnailItem : Item {
  2971.        
  2972.         [System.Runtime.Serialization.DataMemberAttribute()]
  2973.         private string _videoThumbnail;
  2974.        
  2975.         [System.Runtime.Serialization.DataMemberAttribute()]
  2976.         private System.Nullable<int> _videoTitleId;
  2977.        
  2978.         [System.Runtime.Serialization.DataMemberAttribute()]
  2979.         private string _videoTitleTitle;
  2980.        
  2981.         #region Extensibility Method Definitions
  2982.         partial void OnLoaded();
  2983.         partial void OnValidate();
  2984.         partial void OnCreated();
  2985.         #endregion
  2986.        
  2987.         public VideoThumbnailItem() {
  2988.             this.Initialize();
  2989.         }
  2990.        
  2991.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="Video Thumbnail", Storage="_videoThumbnail", FieldType="Text")]
  2992.         public string VideoThumbnail {
  2993.             get {
  2994.                 return this._videoThumbnail;
  2995.             }
  2996.             set {
  2997.                 if ((value != this._videoThumbnail)) {
  2998.                     this.OnPropertyChanging("VideoThumbnail", this._videoThumbnail);
  2999.                     this._videoThumbnail = value;
  3000.                     this.OnPropertyChanged("VideoThumbnail");
  3001.                 }
  3002.             }
  3003.         }
  3004.        
  3005.         [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
  3006.         [Microsoft.SharePoint.Linq.RemovedColumnAttribute()]
  3007.         public override string EncodingQueueStatus {
  3008.             get {
  3009.                 throw new System.InvalidOperationException("Field Title was removed from content type Video Thumbnail Item.");
  3010.             }
  3011.             set {
  3012.                 throw new System.InvalidOperationException("Field Title was removed from content type Video Thumbnail Item.");
  3013.             }
  3014.         }
  3015.        
  3016.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="VTTitle", Storage="_videoTitleId", FieldType="Lookup", IsLookupId=true)]
  3017.         public System.Nullable<int> VideoTitleId {
  3018.             get {
  3019.                 return this._videoTitleId;
  3020.             }
  3021.             set {
  3022.                 if ((value != this._videoTitleId)) {
  3023.                     this.OnPropertyChanging("VideoTitleId", this._videoTitleId);
  3024.                     this._videoTitleId = value;
  3025.                     this.OnPropertyChanged("VideoTitleId");
  3026.                 }
  3027.             }
  3028.         }
  3029.        
  3030.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="VTTitle", Storage="_videoTitleTitle", ReadOnly=true, FieldType="Lookup", IsLookupValue=true)]
  3031.         public string VideoTitleTitle {
  3032.             get {
  3033.                 return this._videoTitleTitle;
  3034.             }
  3035.             set {
  3036.                 if ((value != this._videoTitleTitle)) {
  3037.                     this.OnPropertyChanging("VideoTitleTitle", this._videoTitleTitle);
  3038.                     this._videoTitleTitle = value;
  3039.                     this.OnPropertyChanged("VideoTitleTitle");
  3040.                 }
  3041.             }
  3042.         }
  3043.        
  3044.         private void Initialize() {
  3045.             this.OnCreated();
  3046.         }
  3047.        
  3048.         [System.Runtime.Serialization.OnDeserializedAttribute()]
  3049.         private void OnDeserialized(System.Runtime.Serialization.StreamingContext context) {
  3050.             this.Initialize();
  3051.         }
  3052.     }
  3053.    
  3054.     /// <summary>
  3055.     /// VideoItem Data item content type.
  3056.     /// </summary>
  3057.     [Microsoft.SharePoint.Linq.ContentTypeAttribute(Name="VideoItem Data Item", Id="0x0100ADEBA4D2D4D34BF2A31DA1A7F8A20952")]
  3058.     [Microsoft.SharePoint.Linq.DerivedEntityClassAttribute(Type=typeof(VideoItemDataListVideoItemDataItem))]
  3059.     [System.Runtime.Serialization.DataContractAttribute()]
  3060.     public partial class VideoItemDataItem : Item {
  3061.        
  3062.         [System.Runtime.Serialization.DataMemberAttribute()]
  3063.         private string _videoURL;
  3064.        
  3065.         [System.Runtime.Serialization.DataMemberAttribute()]
  3066.         private string _author;
  3067.        
  3068.         [System.Runtime.Serialization.DataMemberAttribute()]
  3069.         private System.Nullable<int> _videoQualityId;
  3070.        
  3071.         [System.Runtime.Serialization.DataMemberAttribute()]
  3072.         private string _videoQualityTitle;
  3073.        
  3074.         [System.Runtime.Serialization.DataMemberAttribute()]
  3075.         private System.Nullable<int> _videoStatusId;
  3076.        
  3077.         [System.Runtime.Serialization.DataMemberAttribute()]
  3078.         private string _videoStatusTitle;
  3079.        
  3080.         [System.Runtime.Serialization.DataMemberAttribute()]
  3081.         private System.Nullable<int> _videoTitleId;
  3082.        
  3083.         [System.Runtime.Serialization.DataMemberAttribute()]
  3084.         private string _videoTitleTitle;
  3085.        
  3086.         #region Extensibility Method Definitions
  3087.         partial void OnLoaded();
  3088.         partial void OnValidate();
  3089.         partial void OnCreated();
  3090.         #endregion
  3091.        
  3092.         public VideoItemDataItem() {
  3093.             this.Initialize();
  3094.         }
  3095.        
  3096.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="Video URL", Storage="_videoURL", FieldType="Text")]
  3097.         public string VideoURL {
  3098.             get {
  3099.                 return this._videoURL;
  3100.             }
  3101.             set {
  3102.                 if ((value != this._videoURL)) {
  3103.                     this.OnPropertyChanging("VideoURL", this._videoURL);
  3104.                     this._videoURL = value;
  3105.                     this.OnPropertyChanged("VideoURL");
  3106.                 }
  3107.             }
  3108.         }
  3109.        
  3110.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="Author", Storage="_author", FieldType="Text")]
  3111.         public virtual string Author {
  3112.             get {
  3113.                 return this._author;
  3114.             }
  3115.             set {
  3116.                 if ((value != this._author)) {
  3117.                     this.OnPropertyChanging("Author", this._author);
  3118.                     this._author = value;
  3119.                     this.OnPropertyChanged("Author");
  3120.                 }
  3121.             }
  3122.         }
  3123.        
  3124.         [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
  3125.         [Microsoft.SharePoint.Linq.RemovedColumnAttribute()]
  3126.         public override string EncodingQueueStatus {
  3127.             get {
  3128.                 throw new System.InvalidOperationException("Field Title was removed from content type VideoItem Data Item.");
  3129.             }
  3130.             set {
  3131.                 throw new System.InvalidOperationException("Field Title was removed from content type VideoItem Data Item.");
  3132.             }
  3133.         }
  3134.        
  3135.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="VideoQuality", Storage="_videoQualityId", FieldType="Lookup", IsLookupId=true)]
  3136.         public System.Nullable<int> VideoQualityId {
  3137.             get {
  3138.                 return this._videoQualityId;
  3139.             }
  3140.             set {
  3141.                 if ((value != this._videoQualityId)) {
  3142.                     this.OnPropertyChanging("VideoQualityId", this._videoQualityId);
  3143.                     this._videoQualityId = value;
  3144.                     this.OnPropertyChanged("VideoQualityId");
  3145.                 }
  3146.             }
  3147.         }
  3148.        
  3149.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="VideoQuality", Storage="_videoQualityTitle", ReadOnly=true, FieldType="Lookup", IsLookupValue=true)]
  3150.         public string VideoQualityTitle {
  3151.             get {
  3152.                 return this._videoQualityTitle;
  3153.             }
  3154.             set {
  3155.                 if ((value != this._videoQualityTitle)) {
  3156.                     this.OnPropertyChanging("VideoQualityTitle", this._videoQualityTitle);
  3157.                     this._videoQualityTitle = value;
  3158.                     this.OnPropertyChanged("VideoQualityTitle");
  3159.                 }
  3160.             }
  3161.         }
  3162.        
  3163.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="VideoStatus", Storage="_videoStatusId", FieldType="Lookup", IsLookupId=true)]
  3164.         public System.Nullable<int> VideoStatusId {
  3165.             get {
  3166.                 return this._videoStatusId;
  3167.             }
  3168.             set {
  3169.                 if ((value != this._videoStatusId)) {
  3170.                     this.OnPropertyChanging("VideoStatusId", this._videoStatusId);
  3171.                     this._videoStatusId = value;
  3172.                     this.OnPropertyChanged("VideoStatusId");
  3173.                 }
  3174.             }
  3175.         }
  3176.        
  3177.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="VideoStatus", Storage="_videoStatusTitle", ReadOnly=true, FieldType="Lookup", IsLookupValue=true)]
  3178.         public string VideoStatusTitle {
  3179.             get {
  3180.                 return this._videoStatusTitle;
  3181.             }
  3182.             set {
  3183.                 if ((value != this._videoStatusTitle)) {
  3184.                     this.OnPropertyChanging("VideoStatusTitle", this._videoStatusTitle);
  3185.                     this._videoStatusTitle = value;
  3186.                     this.OnPropertyChanged("VideoStatusTitle");
  3187.                 }
  3188.             }
  3189.         }
  3190.        
  3191.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="VideoDesc", Storage="_videoTitleId", FieldType="Lookup", IsLookupId=true)]
  3192.         public System.Nullable<int> VideoTitleId {
  3193.             get {
  3194.                 return this._videoTitleId;
  3195.             }
  3196.             set {
  3197.                 if ((value != this._videoTitleId)) {
  3198.                     this.OnPropertyChanging("VideoTitleId", this._videoTitleId);
  3199.                     this._videoTitleId = value;
  3200.                     this.OnPropertyChanged("VideoTitleId");
  3201.                 }
  3202.             }
  3203.         }
  3204.        
  3205.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="VideoDesc", Storage="_videoTitleTitle", ReadOnly=true, FieldType="Lookup", IsLookupValue=true)]
  3206.         public string VideoTitleTitle {
  3207.             get {
  3208.                 return this._videoTitleTitle;
  3209.             }
  3210.             set {
  3211.                 if ((value != this._videoTitleTitle)) {
  3212.                     this.OnPropertyChanging("VideoTitleTitle", this._videoTitleTitle);
  3213.                     this._videoTitleTitle = value;
  3214.                     this.OnPropertyChanged("VideoTitleTitle");
  3215.                 }
  3216.             }
  3217.         }
  3218.        
  3219.         private void Initialize() {
  3220.             this.OnCreated();
  3221.         }
  3222.        
  3223.         [System.Runtime.Serialization.OnDeserializedAttribute()]
  3224.         private void OnDeserialized(System.Runtime.Serialization.StreamingContext context) {
  3225.             this.Initialize();
  3226.         }
  3227.     }
  3228.    
  3229.     /// <summary>
  3230.     /// Create a new meeting, deadline or other event.
  3231.     /// </summary>
  3232.     [Microsoft.SharePoint.Linq.ContentTypeAttribute(Name="Event", Id="0x0102", List="Calendar")]
  3233.     [System.Runtime.Serialization.DataContractAttribute()]
  3234.     public partial class CalendarEvent : Event {
  3235.        
  3236.         #region Extensibility Method Definitions
  3237.         partial void OnLoaded();
  3238.         partial void OnValidate();
  3239.         partial void OnCreated();
  3240.         #endregion
  3241.        
  3242.         public CalendarEvent() {
  3243.             this.Initialize();
  3244.         }
  3245.        
  3246.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="EventDate", Storage="_startTime", Required=true, FieldType="DateTime")]
  3247.         public override System.Nullable<System.DateTime> StartTime {
  3248.             get {
  3249.                 return this._startTime;
  3250.             }
  3251.             set {
  3252.                 if ((value != this._startTime)) {
  3253.                     this.OnPropertyChanging("StartTime", this._startTime);
  3254.                     this._startTime = value;
  3255.                     this.OnPropertyChanged("StartTime");
  3256.                 }
  3257.             }
  3258.         }
  3259.        
  3260.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="Description", Storage="_description", FieldType="Note")]
  3261.         public override string Description {
  3262.             get {
  3263.                 return this._description;
  3264.             }
  3265.             set {
  3266.                 if ((value != this._description)) {
  3267.                     this.OnPropertyChanging("Description", this._description);
  3268.                     this._description = value;
  3269.                     this.OnPropertyChanged("Description");
  3270.                 }
  3271.             }
  3272.         }
  3273.        
  3274.         private void Initialize() {
  3275.             this.OnCreated();
  3276.         }
  3277.        
  3278.         [System.Runtime.Serialization.OnDeserializedAttribute()]
  3279.         private void OnDeserialized(System.Runtime.Serialization.StreamingContext context) {
  3280.             this.Initialize();
  3281.         }
  3282.     }
  3283.    
  3284.     /// <summary>
  3285.     /// Track a work item that you or your team needs to complete.
  3286.     /// </summary>
  3287.     [Microsoft.SharePoint.Linq.ContentTypeAttribute(Name="Task", Id="0x0108", List="Tasks")]
  3288.     [System.Runtime.Serialization.DataContractAttribute()]
  3289.     public partial class TasksTask : Task {
  3290.        
  3291.         [System.Runtime.Serialization.DataMemberAttribute()]
  3292.         private Microsoft.SharePoint.Linq.EntitySet<Item> _predecessors;
  3293.        
  3294.         #region Extensibility Method Definitions
  3295.         partial void OnLoaded();
  3296.         partial void OnValidate();
  3297.         partial void OnCreated();
  3298.         #endregion
  3299.        
  3300.         public TasksTask() {
  3301.             this._predecessors = new Microsoft.SharePoint.Linq.EntitySet<Item>();
  3302.             this.Initialize();
  3303.         }
  3304.        
  3305.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="DueDate", Storage="_dueDate", FieldType="DateTime")]
  3306.         public override System.Nullable<System.DateTime> DueDate {
  3307.             get {
  3308.                 return this._dueDate;
  3309.             }
  3310.             set {
  3311.                 if ((value != this._dueDate)) {
  3312.                     this.OnPropertyChanging("DueDate", this._dueDate);
  3313.                     this._dueDate = value;
  3314.                     this.OnPropertyChanged("DueDate");
  3315.                 }
  3316.             }
  3317.         }
  3318.        
  3319.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="Status", Storage="_taskStatus", FieldType="Choice")]
  3320.         public override System.Nullable<TaskStatus> TaskStatus {
  3321.             get {
  3322.                 return this._taskStatus;
  3323.             }
  3324.             set {
  3325.                 if ((value != this._taskStatus)) {
  3326.                     this.OnPropertyChanging("TaskStatus", this._taskStatus);
  3327.                     this._taskStatus = value;
  3328.                     this.OnPropertyChanged("TaskStatus");
  3329.                 }
  3330.             }
  3331.         }
  3332.        
  3333.         [Microsoft.SharePoint.Linq.AssociationAttribute(Name="Predecessors", Storage="_predecessors", MultivalueType=Microsoft.SharePoint.Linq.AssociationType.Multi, List="Tasks")]
  3334.         public Microsoft.SharePoint.Linq.EntitySet<Item> Predecessors {
  3335.             get {
  3336.                 return this._predecessors;
  3337.             }
  3338.             set {
  3339.                 this._predecessors.Assign(value);
  3340.             }
  3341.         }
  3342.        
  3343.         private void Initialize() {
  3344.             this._predecessors.OnSync += new System.EventHandler<Microsoft.SharePoint.Linq.AssociationChangedEventArgs<Item>>(this.OnPredecessorsSync);
  3345.             this._predecessors.OnChanged += new System.EventHandler(this.OnPredecessorsChanged);
  3346.             this._predecessors.OnChanging += new System.EventHandler(this.OnPredecessorsChanging);
  3347.             this.OnCreated();
  3348.         }
  3349.        
  3350.         [System.Runtime.Serialization.OnDeserializedAttribute()]
  3351.         private void OnDeserialized(System.Runtime.Serialization.StreamingContext context) {
  3352.             this.Initialize();
  3353.         }
  3354.        
  3355.         private void OnPredecessorsChanging(object sender, System.EventArgs e) {
  3356.             this.OnPropertyChanging("Predecessors", this._predecessors.Clone());
  3357.         }
  3358.        
  3359.         private void OnPredecessorsChanged(object sender, System.EventArgs e) {
  3360.             this.OnPropertyChanged("Predecessors");
  3361.         }
  3362.        
  3363.         private void OnPredecessorsSync(object sender, Microsoft.SharePoint.Linq.AssociationChangedEventArgs<Item> e) {
  3364.         }
  3365.     }
  3366.    
  3367.     /// <summary>
  3368.     /// Create a new folder.
  3369.     /// </summary>
  3370.     [Microsoft.SharePoint.Linq.ContentTypeAttribute(Name="Folder", Id="0x0120", List="workspaces")]
  3371.     [System.Runtime.Serialization.DataContractAttribute()]
  3372.     public partial class WorkspacesFolder : Folder {
  3373.        
  3374.         [System.Runtime.Serialization.DataMemberAttribute()]
  3375.         private string _uRLName;
  3376.        
  3377.         [System.Runtime.Serialization.DataMemberAttribute()]
  3378.         private string _typeOfWorkspace;
  3379.        
  3380.         [System.Runtime.Serialization.DataMemberAttribute()]
  3381.         private string _org;
  3382.        
  3383.         [System.Runtime.Serialization.DataMemberAttribute()]
  3384.         private string _accTicket;
  3385.        
  3386.         [System.Runtime.Serialization.DataMemberAttribute()]
  3387.         private System.Nullable<Status> _status;
  3388.        
  3389.         [System.Runtime.Serialization.DataMemberAttribute()]
  3390.         private System.Nullable<int> _keyUserAreaId;
  3391.        
  3392.         [System.Runtime.Serialization.DataMemberAttribute()]
  3393.         private string _keyUserAreaTemp;
  3394.        
  3395.         #region Extensibility Method Definitions
  3396.         partial void OnLoaded();
  3397.         partial void OnValidate();
  3398.         partial void OnCreated();
  3399.         #endregion
  3400.        
  3401.         public WorkspacesFolder() {
  3402.             this.Initialize();
  3403.         }
  3404.        
  3405.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="Project_x0020_Code", Storage="_uRLName", ReadOnly=true, IsCalculated=true, FieldType="Text")]
  3406.         public string URLName {
  3407.             get {
  3408.                 return this._uRLName;
  3409.             }
  3410.             set {
  3411.                 if ((value != this._uRLName)) {
  3412.                     this.OnPropertyChanging("URLName", this._uRLName);
  3413.                     this._uRLName = value;
  3414.                     this.OnPropertyChanged("URLName");
  3415.                 }
  3416.             }
  3417.         }
  3418.        
  3419.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="Type_x0020_of_x0020_Workspace", Storage="_typeOfWorkspace", ReadOnly=true, IsCalculated=true, FieldType="Text")]
  3420.         public string TypeOfWorkspace {
  3421.             get {
  3422.                 return this._typeOfWorkspace;
  3423.             }
  3424.             set {
  3425.                 if ((value != this._typeOfWorkspace)) {
  3426.                     this.OnPropertyChanging("TypeOfWorkspace", this._typeOfWorkspace);
  3427.                     this._typeOfWorkspace = value;
  3428.                     this.OnPropertyChanged("TypeOfWorkspace");
  3429.                 }
  3430.             }
  3431.         }
  3432.        
  3433.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="Org", Storage="_org", FieldType="Text")]
  3434.         public string Org {
  3435.             get {
  3436.                 return this._org;
  3437.             }
  3438.             set {
  3439.                 if ((value != this._org)) {
  3440.                     this.OnPropertyChanging("Org", this._org);
  3441.                     this._org = value;
  3442.                     this.OnPropertyChanged("Org");
  3443.                 }
  3444.             }
  3445.         }
  3446.        
  3447.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="Acc_x002e__x0020_Ticket_x0020__x", Storage="_accTicket", FieldType="Text")]
  3448.         public string AccTicket {
  3449.             get {
  3450.                 return this._accTicket;
  3451.             }
  3452.             set {
  3453.                 if ((value != this._accTicket)) {
  3454.                     this.OnPropertyChanging("AccTicket", this._accTicket);
  3455.                     this._accTicket = value;
  3456.                     this.OnPropertyChanged("AccTicket");
  3457.                 }
  3458.             }
  3459.         }
  3460.        
  3461.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="Status", Storage="_status", FieldType="Choice")]
  3462.         public System.Nullable<Status> Status {
  3463.             get {
  3464.                 return this._status;
  3465.             }
  3466.             set {
  3467.                 if ((value != this._status)) {
  3468.                     this.OnPropertyChanging("Status", this._status);
  3469.                     this._status = value;
  3470.                     this.OnPropertyChanged("Status");
  3471.                 }
  3472.             }
  3473.         }
  3474.        
  3475.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="Organization", Storage="_keyUserAreaId", FieldType="Lookup", IsLookupId=true)]
  3476.         public System.Nullable<int> KeyUserAreaId {
  3477.             get {
  3478.                 return this._keyUserAreaId;
  3479.             }
  3480.             set {
  3481.                 if ((value != this._keyUserAreaId)) {
  3482.                     this.OnPropertyChanging("KeyUserAreaId", this._keyUserAreaId);
  3483.                     this._keyUserAreaId = value;
  3484.                     this.OnPropertyChanged("KeyUserAreaId");
  3485.                 }
  3486.             }
  3487.         }
  3488.        
  3489.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="Organization", Storage="_keyUserAreaTemp", ReadOnly=true, FieldType="Lookup", IsLookupValue=true)]
  3490.         public string KeyUserAreaTemp {
  3491.             get {
  3492.                 return this._keyUserAreaTemp;
  3493.             }
  3494.             set {
  3495.                 if ((value != this._keyUserAreaTemp)) {
  3496.                     this.OnPropertyChanging("KeyUserAreaTemp", this._keyUserAreaTemp);
  3497.                     this._keyUserAreaTemp = value;
  3498.                     this.OnPropertyChanged("KeyUserAreaTemp");
  3499.                 }
  3500.             }
  3501.         }
  3502.        
  3503.         private void Initialize() {
  3504.             this.OnCreated();
  3505.         }
  3506.        
  3507.         [System.Runtime.Serialization.OnDeserializedAttribute()]
  3508.         private void OnDeserialized(System.Runtime.Serialization.StreamingContext context) {
  3509.             this.Initialize();
  3510.         }
  3511.     }
  3512.    
  3513.     /// <summary>
  3514.     /// Group and describe related tasks that you or your team needs to complete.
  3515.     /// </summary>
  3516.     [Microsoft.SharePoint.Linq.ContentTypeAttribute(Name="Summary Task", Id="0x012004", List="Tasks")]
  3517.     [System.Runtime.Serialization.DataContractAttribute()]
  3518.     public partial class TasksSummaryTask : SummaryTask {
  3519.        
  3520.         [System.Runtime.Serialization.DataMemberAttribute()]
  3521.         private Microsoft.SharePoint.Linq.EntitySet<Item> _predecessors;
  3522.        
  3523.         #region Extensibility Method Definitions
  3524.         partial void OnLoaded();
  3525.         partial void OnValidate();
  3526.         partial void OnCreated();
  3527.         #endregion
  3528.        
  3529.         public TasksSummaryTask() {
  3530.             this._predecessors = new Microsoft.SharePoint.Linq.EntitySet<Item>();
  3531.             this.Initialize();
  3532.         }
  3533.        
  3534.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="DueDate", Storage="_dueDate", FieldType="DateTime")]
  3535.         public override System.Nullable<System.DateTime> DueDate {
  3536.             get {
  3537.                 return this._dueDate;
  3538.             }
  3539.             set {
  3540.                 if ((value != this._dueDate)) {
  3541.                     this.OnPropertyChanging("DueDate", this._dueDate);
  3542.                     this._dueDate = value;
  3543.                     this.OnPropertyChanged("DueDate");
  3544.                 }
  3545.             }
  3546.         }
  3547.        
  3548.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="Status", Storage="_taskStatus", FieldType="Choice")]
  3549.         public override System.Nullable<TaskStatus> TaskStatus {
  3550.             get {
  3551.                 return this._taskStatus;
  3552.             }
  3553.             set {
  3554.                 if ((value != this._taskStatus)) {
  3555.                     this.OnPropertyChanging("TaskStatus", this._taskStatus);
  3556.                     this._taskStatus = value;
  3557.                     this.OnPropertyChanged("TaskStatus");
  3558.                 }
  3559.             }
  3560.         }
  3561.        
  3562.         [Microsoft.SharePoint.Linq.AssociationAttribute(Name="Predecessors", Storage="_predecessors", MultivalueType=Microsoft.SharePoint.Linq.AssociationType.Multi, List="Tasks")]
  3563.         public Microsoft.SharePoint.Linq.EntitySet<Item> Predecessors {
  3564.             get {
  3565.                 return this._predecessors;
  3566.             }
  3567.             set {
  3568.                 this._predecessors.Assign(value);
  3569.             }
  3570.         }
  3571.        
  3572.         private void Initialize() {
  3573.             this._predecessors.OnSync += new System.EventHandler<Microsoft.SharePoint.Linq.AssociationChangedEventArgs<Item>>(this.OnPredecessorsSync);
  3574.             this._predecessors.OnChanged += new System.EventHandler(this.OnPredecessorsChanged);
  3575.             this._predecessors.OnChanging += new System.EventHandler(this.OnPredecessorsChanging);
  3576.             this.OnCreated();
  3577.         }
  3578.        
  3579.         [System.Runtime.Serialization.OnDeserializedAttribute()]
  3580.         private void OnDeserialized(System.Runtime.Serialization.StreamingContext context) {
  3581.             this.Initialize();
  3582.         }
  3583.        
  3584.         private void OnPredecessorsChanging(object sender, System.EventArgs e) {
  3585.             this.OnPropertyChanging("Predecessors", this._predecessors.Clone());
  3586.         }
  3587.        
  3588.         private void OnPredecessorsChanged(object sender, System.EventArgs e) {
  3589.             this.OnPropertyChanged("Predecessors");
  3590.         }
  3591.        
  3592.         private void OnPredecessorsSync(object sender, Microsoft.SharePoint.Linq.AssociationChangedEventArgs<Item> e) {
  3593.         }
  3594.     }
  3595.    
  3596.     /// <summary>
  3597.     /// PlayList content type.
  3598.     /// </summary>
  3599.     [Microsoft.SharePoint.Linq.ContentTypeAttribute(Name="PlayList", Id="0x01004DA8EA4A01C445EFAEF0260184847D79", List="PlayList List")]
  3600.     [System.Runtime.Serialization.DataContractAttribute()]
  3601.     public partial class PlayListListPlayList : PlayList {
  3602.        
  3603.         #region Extensibility Method Definitions
  3604.         partial void OnLoaded();
  3605.         partial void OnValidate();
  3606.         partial void OnCreated();
  3607.         #endregion
  3608.        
  3609.         public PlayListListPlayList() {
  3610.             this.Initialize();
  3611.         }
  3612.        
  3613.         [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
  3614.         [Microsoft.SharePoint.Linq.RemovedColumnAttribute()]
  3615.         public override string Author {
  3616.             get {
  3617.                 throw new System.InvalidOperationException("Field Author was removed from content type PlayList.");
  3618.             }
  3619.             set {
  3620.                 throw new System.InvalidOperationException("Field Author was removed from content type PlayList.");
  3621.             }
  3622.         }
  3623.        
  3624.         private void Initialize() {
  3625.             this.OnCreated();
  3626.         }
  3627.        
  3628.         [System.Runtime.Serialization.OnDeserializedAttribute()]
  3629.         private void OnDeserialized(System.Runtime.Serialization.StreamingContext context) {
  3630.             this.Initialize();
  3631.         }
  3632.     }
  3633.    
  3634.     /// <summary>
  3635.     /// PlayList item content type.
  3636.     /// </summary>
  3637.     [Microsoft.SharePoint.Linq.ContentTypeAttribute(Name="PlayList Item", Id="0x0100A4A99E0423EA4A65B90E0431FC8FCD55", List="PlayListItem List")]
  3638.     [System.Runtime.Serialization.DataContractAttribute()]
  3639.     public partial class PlayListItemListPlayListItem : PlayListItem {
  3640.        
  3641.         #region Extensibility Method Definitions
  3642.         partial void OnLoaded();
  3643.         partial void OnValidate();
  3644.         partial void OnCreated();
  3645.         #endregion
  3646.        
  3647.         public PlayListItemListPlayListItem() {
  3648.             this.Initialize();
  3649.         }
  3650.        
  3651.         [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
  3652.         [Microsoft.SharePoint.Linq.RemovedColumnAttribute()]
  3653.         public override string Author {
  3654.             get {
  3655.                 throw new System.InvalidOperationException("Field Author was removed from content type PlayList Item.");
  3656.             }
  3657.             set {
  3658.                 throw new System.InvalidOperationException("Field Author was removed from content type PlayList Item.");
  3659.             }
  3660.         }
  3661.        
  3662.         private void Initialize() {
  3663.             this.OnCreated();
  3664.         }
  3665.        
  3666.         [System.Runtime.Serialization.OnDeserializedAttribute()]
  3667.         private void OnDeserialized(System.Runtime.Serialization.StreamingContext context) {
  3668.             this.Initialize();
  3669.         }
  3670.     }
  3671.    
  3672.     /// <summary>
  3673.     /// Video comment item content type.
  3674.     /// </summary>
  3675.     [Microsoft.SharePoint.Linq.ContentTypeAttribute(Name="Video Comment Item", Id="0x01008FBF9ADAFF6A45A0A88CC0C5D557F453", List="Video Comments List")]
  3676.     [System.Runtime.Serialization.DataContractAttribute()]
  3677.     public partial class VideoCommentsListVideoCommentItem : VideoCommentItem {
  3678.        
  3679.         #region Extensibility Method Definitions
  3680.         partial void OnLoaded();
  3681.         partial void OnValidate();
  3682.         partial void OnCreated();
  3683.         #endregion
  3684.        
  3685.         public VideoCommentsListVideoCommentItem() {
  3686.             this.Initialize();
  3687.         }
  3688.        
  3689.         [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
  3690.         [Microsoft.SharePoint.Linq.RemovedColumnAttribute()]
  3691.         public override string Author {
  3692.             get {
  3693.                 throw new System.InvalidOperationException("Field Author was removed from content type Video Comment Item.");
  3694.             }
  3695.             set {
  3696.                 throw new System.InvalidOperationException("Field Author was removed from content type Video Comment Item.");
  3697.             }
  3698.         }
  3699.        
  3700.         private void Initialize() {
  3701.             this.OnCreated();
  3702.         }
  3703.        
  3704.         [System.Runtime.Serialization.OnDeserializedAttribute()]
  3705.         private void OnDeserialized(System.Runtime.Serialization.StreamingContext context) {
  3706.             this.Initialize();
  3707.         }
  3708.     }
  3709.    
  3710.     /// <summary>
  3711.     /// Video item content type.
  3712.     /// </summary>
  3713.     [Microsoft.SharePoint.Linq.ContentTypeAttribute(Name="Video Item", Id="0x010089E3E6DB8C9B4B3FBB980447E313CE94", List="Video List")]
  3714.     [System.Runtime.Serialization.DataContractAttribute()]
  3715.     public partial class VideoListVideoItem : VideoItem {
  3716.        
  3717.         #region Extensibility Method Definitions
  3718.         partial void OnLoaded();
  3719.         partial void OnValidate();
  3720.         partial void OnCreated();
  3721.         #endregion
  3722.        
  3723.         public VideoListVideoItem() {
  3724.             this.Initialize();
  3725.         }
  3726.        
  3727.         [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
  3728.         [Microsoft.SharePoint.Linq.RemovedColumnAttribute()]
  3729.         public override string Author {
  3730.             get {
  3731.                 throw new System.InvalidOperationException("Field Author was removed from content type Video Item.");
  3732.             }
  3733.             set {
  3734.                 throw new System.InvalidOperationException("Field Author was removed from content type Video Item.");
  3735.             }
  3736.         }
  3737.        
  3738.         private void Initialize() {
  3739.             this.OnCreated();
  3740.         }
  3741.        
  3742.         [System.Runtime.Serialization.OnDeserializedAttribute()]
  3743.         private void OnDeserialized(System.Runtime.Serialization.StreamingContext context) {
  3744.             this.Initialize();
  3745.         }
  3746.     }
  3747.    
  3748.     /// <summary>
  3749.     /// VideoItem Data item content type.
  3750.     /// </summary>
  3751.     [Microsoft.SharePoint.Linq.ContentTypeAttribute(Name="VideoItem Data Item", Id="0x0100ADEBA4D2D4D34BF2A31DA1A7F8A20952", List="VideoItem Data List")]
  3752.     [System.Runtime.Serialization.DataContractAttribute()]
  3753.     public partial class VideoItemDataListVideoItemDataItem : VideoItemDataItem {
  3754.        
  3755.         #region Extensibility Method Definitions
  3756.         partial void OnLoaded();
  3757.         partial void OnValidate();
  3758.         partial void OnCreated();
  3759.         #endregion
  3760.        
  3761.         public VideoItemDataListVideoItemDataItem() {
  3762.             this.Initialize();
  3763.         }
  3764.        
  3765.         [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
  3766.         [Microsoft.SharePoint.Linq.RemovedColumnAttribute()]
  3767.         public override string Author {
  3768.             get {
  3769.                 throw new System.InvalidOperationException("Field Author was removed from content type VideoItem Data Item.");
  3770.             }
  3771.             set {
  3772.                 throw new System.InvalidOperationException("Field Author was removed from content type VideoItem Data Item.");
  3773.             }
  3774.         }
  3775.        
  3776.         private void Initialize() {
  3777.             this.OnCreated();
  3778.         }
  3779.        
  3780.         [System.Runtime.Serialization.OnDeserializedAttribute()]
  3781.         private void OnDeserialized(System.Runtime.Serialization.StreamingContext context) {
  3782.             this.Initialize();
  3783.         }
  3784.     }
  3785.    
  3786.     [Microsoft.SharePoint.Linq.ContentTypeAttribute(Name="Project", Id="0x01", List="workspaces")]
  3787.     [System.Runtime.Serialization.DataContractAttribute()]
  3788.     public partial class WorkspacesProject : Item {
  3789.        
  3790.         [System.Runtime.Serialization.DataMemberAttribute()]
  3791.         private string _wBSCode;
  3792.        
  3793.         [System.Runtime.Serialization.DataMemberAttribute()]
  3794.         private System.Nullable<bool> _public;
  3795.        
  3796.         [System.Runtime.Serialization.DataMemberAttribute()]
  3797.         private string _comments;
  3798.        
  3799.         [System.Runtime.Serialization.DataMemberAttribute()]
  3800.         private string _org;
  3801.        
  3802.         [System.Runtime.Serialization.DataMemberAttribute()]
  3803.         private string _accTicket;
  3804.        
  3805.         [System.Runtime.Serialization.DataMemberAttribute()]
  3806.         private Microsoft.SharePoint.Linq.LookupList<System.Nullable<int>> _lineManagerId;
  3807.        
  3808.         [System.Runtime.Serialization.DataMemberAttribute()]
  3809.         private Microsoft.SharePoint.Linq.LookupList<string> _lineManagerImnName;
  3810.        
  3811.         [System.Runtime.Serialization.DataMemberAttribute()]
  3812.         private Microsoft.SharePoint.Linq.LookupList<System.Nullable<int>> _ownerId;
  3813.        
  3814.         [System.Runtime.Serialization.DataMemberAttribute()]
  3815.         private Microsoft.SharePoint.Linq.LookupList<string> _ownerImnName;
  3816.        
  3817.         [System.Runtime.Serialization.DataMemberAttribute()]
  3818.         private Microsoft.SharePoint.Linq.LookupList<System.Nullable<int>> _siteMembersId;
  3819.        
  3820.         [System.Runtime.Serialization.DataMemberAttribute()]
  3821.         private Microsoft.SharePoint.Linq.LookupList<string> _siteMembersImnName;
  3822.        
  3823.         #region Extensibility Method Definitions
  3824.         partial void OnLoaded();
  3825.         partial void OnValidate();
  3826.         partial void OnCreated();
  3827.         #endregion
  3828.        
  3829.         public WorkspacesProject() {
  3830.             this._lineManagerId = new Microsoft.SharePoint.Linq.LookupList<System.Nullable<int>>();
  3831.             this._lineManagerImnName = new Microsoft.SharePoint.Linq.LookupList<string>();
  3832.             this._ownerId = new Microsoft.SharePoint.Linq.LookupList<System.Nullable<int>>();
  3833.             this._ownerImnName = new Microsoft.SharePoint.Linq.LookupList<string>();
  3834.             this._siteMembersId = new Microsoft.SharePoint.Linq.LookupList<System.Nullable<int>>();
  3835.             this._siteMembersImnName = new Microsoft.SharePoint.Linq.LookupList<string>();
  3836.             this.Initialize();
  3837.         }
  3838.        
  3839.         /// <summary>
  3840.         /// Your projects WBS code without spaces or special characters, e.g. XCN10G017. If your project doesn´t have a WBS Code, please enter "Non WBS Project". This is used for technical administration purposes only and NO CHARGES WILL OCCUR!
  3841.         /// </summary>
  3842.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="WBS_x0020_Code", Storage="_wBSCode", Required=true, FieldType="Text")]
  3843.         public string WBSCode {
  3844.             get {
  3845.                 return this._wBSCode;
  3846.             }
  3847.             set {
  3848.                 if ((value != this._wBSCode)) {
  3849.                     this.OnPropertyChanging("WBSCode", this._wBSCode);
  3850.                     this._wBSCode = value;
  3851.                     this.OnPropertyChanged("WBSCode");
  3852.                 }
  3853.             }
  3854.         }
  3855.        
  3856.         /// <summary>
  3857.         /// Allow all NSN employees to read-access your site?
  3858.         /// </summary>
  3859.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="Public", Storage="_public", FieldType="Boolean")]
  3860.         public System.Nullable<bool> Public {
  3861.             get {
  3862.                 return this._public;
  3863.             }
  3864.             set {
  3865.                 if ((value != this._public)) {
  3866.                     this.OnPropertyChanging("Public", this._public);
  3867.                     this._public = value;
  3868.                     this.OnPropertyChanged("Public");
  3869.                 }
  3870.             }
  3871.         }
  3872.        
  3873.         /// <summary>
  3874.         /// Press "Save" to request the site. It will be created within 48hrs based on a standard template and your Key User can help you modify as per your needs.
  3875.         /// </summary>
  3876.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="Intended_x0020_Usage_x0020__x0020", Storage="_comments", FieldType="Note")]
  3877.         public string Comments {
  3878.             get {
  3879.                 return this._comments;
  3880.             }
  3881.             set {
  3882.                 if ((value != this._comments)) {
  3883.                     this.OnPropertyChanging("Comments", this._comments);
  3884.                     this._comments = value;
  3885.                     this.OnPropertyChanged("Comments");
  3886.                 }
  3887.             }
  3888.         }
  3889.        
  3890.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="Org", Storage="_org", FieldType="Text")]
  3891.         public string Org {
  3892.             get {
  3893.                 return this._org;
  3894.             }
  3895.             set {
  3896.                 if ((value != this._org)) {
  3897.                     this.OnPropertyChanging("Org", this._org);
  3898.                     this._org = value;
  3899.                     this.OnPropertyChanged("Org");
  3900.                 }
  3901.             }
  3902.         }
  3903.        
  3904.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="Acc_x002e__x0020_Ticket_x0020__x", Storage="_accTicket", FieldType="Text")]
  3905.         public string AccTicket {
  3906.             get {
  3907.                 return this._accTicket;
  3908.             }
  3909.             set {
  3910.                 if ((value != this._accTicket)) {
  3911.                     this.OnPropertyChanging("AccTicket", this._accTicket);
  3912.                     this._accTicket = value;
  3913.                     this.OnPropertyChanged("AccTicket");
  3914.                 }
  3915.             }
  3916.         }
  3917.        
  3918.         /// <summary>
  3919.         /// Enter your line manager for site creation approval.
  3920.         /// </summary>
  3921.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="Line_x0020_Manager", Storage="_lineManagerId", FieldType="User", IsLookupId=true)]
  3922.         public System.Collections.Generic.IList<System.Nullable<int>> LineManagerId {
  3923.             get {
  3924.                 return this._lineManagerId;
  3925.             }
  3926.             set {
  3927.                 this._lineManagerId.Assign(value);
  3928.             }
  3929.         }
  3930.        
  3931.         /// <summary>
  3932.         /// Enter your line manager for site creation approval.
  3933.         /// </summary>
  3934.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="Line_x0020_Manager", Storage="_lineManagerImnName", ReadOnly=true, FieldType="User", IsLookupValue=true)]
  3935.         public System.Collections.Generic.IList<string> LineManagerImnName {
  3936.             get {
  3937.                 return this._lineManagerImnName;
  3938.             }
  3939.             set {
  3940.                 this._lineManagerImnName.Assign(value);
  3941.             }
  3942.         }
  3943.        
  3944.         /// <summary>
  3945.         /// The Owner(s) given here, the requester, as well as your organization’s appointed key user (if applicable) will be added to the owners group per default. This can be changed with assistance of your key user after creation.
  3946.         /// </summary>
  3947.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="Owner", Storage="_ownerId", Required=true, FieldType="User", IsLookupId=true)]
  3948.         public System.Collections.Generic.IList<System.Nullable<int>> OwnerId {
  3949.             get {
  3950.                 return this._ownerId;
  3951.             }
  3952.             set {
  3953.                 this._ownerId.Assign(value);
  3954.             }
  3955.         }
  3956.        
  3957.         /// <summary>
  3958.         /// The Owner(s) given here, the requester, as well as your organization’s appointed key user (if applicable) will be added to the owners group per default. This can be changed with assistance of your key user after creation.
  3959.         /// </summary>
  3960.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="Owner", Storage="_ownerImnName", ReadOnly=true, FieldType="User", IsLookupValue=true)]
  3961.         public System.Collections.Generic.IList<string> OwnerImnName {
  3962.             get {
  3963.                 return this._ownerImnName;
  3964.             }
  3965.             set {
  3966.                 this._ownerImnName.Assign(value);
  3967.             }
  3968.         }
  3969.        
  3970.         /// <summary>
  3971.         /// Team members to work on and contribute to the site (write-access).
  3972.         /// </summary>
  3973.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="Site_x0020_Members", Storage="_siteMembersId", Required=true, FieldType="User", IsLookupId=true)]
  3974.         public System.Collections.Generic.IList<System.Nullable<int>> SiteMembersId {
  3975.             get {
  3976.                 return this._siteMembersId;
  3977.             }
  3978.             set {
  3979.                 this._siteMembersId.Assign(value);
  3980.             }
  3981.         }
  3982.        
  3983.         /// <summary>
  3984.         /// Team members to work on and contribute to the site (write-access).
  3985.         /// </summary>
  3986.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="Site_x0020_Members", Storage="_siteMembersImnName", ReadOnly=true, FieldType="User", IsLookupValue=true)]
  3987.         public System.Collections.Generic.IList<string> SiteMembersImnName {
  3988.             get {
  3989.                 return this._siteMembersImnName;
  3990.             }
  3991.             set {
  3992.                 this._siteMembersImnName.Assign(value);
  3993.             }
  3994.         }
  3995.        
  3996.         private void Initialize() {
  3997.             this._lineManagerId.OnChanged += new System.EventHandler(this.OnLineManagerIdChanged);
  3998.             this._lineManagerId.OnChanging += new System.EventHandler(this.OnLineManagerIdChanging);
  3999.             this._lineManagerImnName.OnChanged += new System.EventHandler(this.OnLineManagerImnNameChanged);
  4000.             this._lineManagerImnName.OnChanging += new System.EventHandler(this.OnLineManagerImnNameChanging);
  4001.             this._ownerId.OnChanged += new System.EventHandler(this.OnOwnerIdChanged);
  4002.             this._ownerId.OnChanging += new System.EventHandler(this.OnOwnerIdChanging);
  4003.             this._ownerImnName.OnChanged += new System.EventHandler(this.OnOwnerImnNameChanged);
  4004.             this._ownerImnName.OnChanging += new System.EventHandler(this.OnOwnerImnNameChanging);
  4005.             this._siteMembersId.OnChanged += new System.EventHandler(this.OnSiteMembersIdChanged);
  4006.             this._siteMembersId.OnChanging += new System.EventHandler(this.OnSiteMembersIdChanging);
  4007.             this._siteMembersImnName.OnChanged += new System.EventHandler(this.OnSiteMembersImnNameChanged);
  4008.             this._siteMembersImnName.OnChanging += new System.EventHandler(this.OnSiteMembersImnNameChanging);
  4009.             this.OnCreated();
  4010.         }
  4011.        
  4012.         [System.Runtime.Serialization.OnDeserializedAttribute()]
  4013.         private void OnDeserialized(System.Runtime.Serialization.StreamingContext context) {
  4014.             this.Initialize();
  4015.         }
  4016.        
  4017.         private void OnLineManagerIdChanging(object sender, System.EventArgs e) {
  4018.             this.OnPropertyChanging("LineManagerId", this._lineManagerId.Clone());
  4019.         }
  4020.        
  4021.         private void OnLineManagerIdChanged(object sender, System.EventArgs e) {
  4022.             this.OnPropertyChanged("LineManagerId");
  4023.         }
  4024.        
  4025.         private void OnLineManagerImnNameChanging(object sender, System.EventArgs e) {
  4026.             this.OnPropertyChanging("LineManagerImnName", this._lineManagerImnName.Clone());
  4027.         }
  4028.        
  4029.         private void OnLineManagerImnNameChanged(object sender, System.EventArgs e) {
  4030.             this.OnPropertyChanged("LineManagerImnName");
  4031.         }
  4032.        
  4033.         private void OnOwnerIdChanging(object sender, System.EventArgs e) {
  4034.             this.OnPropertyChanging("OwnerId", this._ownerId.Clone());
  4035.         }
  4036.        
  4037.         private void OnOwnerIdChanged(object sender, System.EventArgs e) {
  4038.             this.OnPropertyChanged("OwnerId");
  4039.         }
  4040.        
  4041.         private void OnOwnerImnNameChanging(object sender, System.EventArgs e) {
  4042.             this.OnPropertyChanging("OwnerImnName", this._ownerImnName.Clone());
  4043.         }
  4044.        
  4045.         private void OnOwnerImnNameChanged(object sender, System.EventArgs e) {
  4046.             this.OnPropertyChanged("OwnerImnName");
  4047.         }
  4048.        
  4049.         private void OnSiteMembersIdChanging(object sender, System.EventArgs e) {
  4050.             this.OnPropertyChanging("SiteMembersId", this._siteMembersId.Clone());
  4051.         }
  4052.        
  4053.         private void OnSiteMembersIdChanged(object sender, System.EventArgs e) {
  4054.             this.OnPropertyChanged("SiteMembersId");
  4055.         }
  4056.        
  4057.         private void OnSiteMembersImnNameChanging(object sender, System.EventArgs e) {
  4058.             this.OnPropertyChanging("SiteMembersImnName", this._siteMembersImnName.Clone());
  4059.         }
  4060.        
  4061.         private void OnSiteMembersImnNameChanged(object sender, System.EventArgs e) {
  4062.             this.OnPropertyChanged("SiteMembersImnName");
  4063.         }
  4064.     }
  4065.    
  4066.     [Microsoft.SharePoint.Linq.ContentTypeAttribute(Name="Team", Id="0x01", List="workspaces")]
  4067.     [System.Runtime.Serialization.DataContractAttribute()]
  4068.     public partial class WorkspacesTeam : Item {
  4069.        
  4070.         [System.Runtime.Serialization.DataMemberAttribute()]
  4071.         private string _shortTitle;
  4072.        
  4073.         [System.Runtime.Serialization.DataMemberAttribute()]
  4074.         private System.Nullable<bool> _public;
  4075.        
  4076.         [System.Runtime.Serialization.DataMemberAttribute()]
  4077.         private string _comments;
  4078.        
  4079.         [System.Runtime.Serialization.DataMemberAttribute()]
  4080.         private string _org;
  4081.        
  4082.         [System.Runtime.Serialization.DataMemberAttribute()]
  4083.         private string _accTicket;
  4084.        
  4085.         [System.Runtime.Serialization.DataMemberAttribute()]
  4086.         private System.Nullable<int> _sendMail;
  4087.        
  4088.         [System.Runtime.Serialization.DataMemberAttribute()]
  4089.         private System.Nullable<int> _sendEmailToUsers;
  4090.        
  4091.         [System.Runtime.Serialization.DataMemberAttribute()]
  4092.         private System.Nullable<int> _siteCreationWorkflow;
  4093.        
  4094.         [System.Runtime.Serialization.DataMemberAttribute()]
  4095.         private System.Nullable<System.DateTime> _scCreationTime;
  4096.        
  4097.         [System.Runtime.Serialization.DataMemberAttribute()]
  4098.         private string _scURL;
  4099.        
  4100.         [System.Runtime.Serialization.DataMemberAttribute()]
  4101.         private string _scTemplateUrl;
  4102.        
  4103.         [System.Runtime.Serialization.DataMemberAttribute()]
  4104.         private System.Nullable<bool> _scExists;
  4105.        
  4106.         [System.Runtime.Serialization.DataMemberAttribute()]
  4107.         private Microsoft.SharePoint.Linq.LookupList<System.Nullable<int>> _ownerId;
  4108.        
  4109.         [System.Runtime.Serialization.DataMemberAttribute()]
  4110.         private Microsoft.SharePoint.Linq.LookupList<string> _ownerImnName;
  4111.        
  4112.         [System.Runtime.Serialization.DataMemberAttribute()]
  4113.         private Microsoft.SharePoint.Linq.LookupList<System.Nullable<int>> _siteMembersId;
  4114.        
  4115.         [System.Runtime.Serialization.DataMemberAttribute()]
  4116.         private Microsoft.SharePoint.Linq.LookupList<string> _siteMembersImnName;
  4117.        
  4118.         [System.Runtime.Serialization.DataMemberAttribute()]
  4119.         private System.Nullable<int> _scCreatorId;
  4120.        
  4121.         [System.Runtime.Serialization.DataMemberAttribute()]
  4122.         private string _scCreator;
  4123.        
  4124.         #region Extensibility Method Definitions
  4125.         partial void OnLoaded();
  4126.         partial void OnValidate();
  4127.         partial void OnCreated();
  4128.         #endregion
  4129.        
  4130.         public WorkspacesTeam() {
  4131.             this._ownerId = new Microsoft.SharePoint.Linq.LookupList<System.Nullable<int>>();
  4132.             this._ownerImnName = new Microsoft.SharePoint.Linq.LookupList<string>();
  4133.             this._siteMembersId = new Microsoft.SharePoint.Linq.LookupList<System.Nullable<int>>();
  4134.             this._siteMembersImnName = new Microsoft.SharePoint.Linq.LookupList<string>();
  4135.             this.Initialize();
  4136.         }
  4137.        
  4138.         /// <summary>
  4139.         /// Short token used in the URL that can identify your site sufficiently, but does not contain any blanks or special character, e.g. "GSMRcomms". Maximum 15 characters!
  4140.         /// </summary>
  4141.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="Short_x0020_Title", Storage="_shortTitle", Required=true, FieldType="Text")]
  4142.         public string ShortTitle {
  4143.             get {
  4144.                 return this._shortTitle;
  4145.             }
  4146.             set {
  4147.                 if ((value != this._shortTitle)) {
  4148.                     this.OnPropertyChanging("ShortTitle", this._shortTitle);
  4149.                     this._shortTitle = value;
  4150.                     this.OnPropertyChanged("ShortTitle");
  4151.                 }
  4152.             }
  4153.         }
  4154.        
  4155.         /// <summary>
  4156.         /// Allow all NSN employees to read-access your site?
  4157.         /// </summary>
  4158.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="Public", Storage="_public", FieldType="Boolean")]
  4159.         public System.Nullable<bool> Public {
  4160.             get {
  4161.                 return this._public;
  4162.             }
  4163.             set {
  4164.                 if ((value != this._public)) {
  4165.                     this.OnPropertyChanging("Public", this._public);
  4166.                     this._public = value;
  4167.                     this.OnPropertyChanged("Public");
  4168.                 }
  4169.             }
  4170.         }
  4171.        
  4172.         /// <summary>
  4173.         /// Press "Save" to request the site. It will be created within 48hrs based on a standard template and your Key User can help you modify as per your needs.
  4174.         /// </summary>
  4175.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="Intended_x0020_Usage_x0020__x0020", Storage="_comments", FieldType="Note")]
  4176.         public string Comments {
  4177.             get {
  4178.                 return this._comments;
  4179.             }
  4180.             set {
  4181.                 if ((value != this._comments)) {
  4182.                     this.OnPropertyChanging("Comments", this._comments);
  4183.                     this._comments = value;
  4184.                     this.OnPropertyChanged("Comments");
  4185.                 }
  4186.             }
  4187.         }
  4188.        
  4189.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="Org", Storage="_org", FieldType="Text")]
  4190.         public string Org {
  4191.             get {
  4192.                 return this._org;
  4193.             }
  4194.             set {
  4195.                 if ((value != this._org)) {
  4196.                     this.OnPropertyChanging("Org", this._org);
  4197.                     this._org = value;
  4198.                     this.OnPropertyChanged("Org");
  4199.                 }
  4200.             }
  4201.         }
  4202.        
  4203.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="Acc_x002e__x0020_Ticket_x0020__x", Storage="_accTicket", FieldType="Text")]
  4204.         public string AccTicket {
  4205.             get {
  4206.                 return this._accTicket;
  4207.             }
  4208.             set {
  4209.                 if ((value != this._accTicket)) {
  4210.                     this.OnPropertyChanging("AccTicket", this._accTicket);
  4211.                     this._accTicket = value;
  4212.                     this.OnPropertyChanged("AccTicket");
  4213.                 }
  4214.             }
  4215.         }
  4216.        
  4217.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="SendMail", Storage="_sendMail", ReadOnly=true, FieldType="WorkflowStatus")]
  4218.         public System.Nullable<int> SendMail {
  4219.             get {
  4220.                 return this._sendMail;
  4221.             }
  4222.             set {
  4223.                 if ((value != this._sendMail)) {
  4224.                     this.OnPropertyChanging("SendMail", this._sendMail);
  4225.                     this._sendMail = value;
  4226.                     this.OnPropertyChanged("SendMail");
  4227.                 }
  4228.             }
  4229.         }
  4230.        
  4231.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="SendEmai", Storage="_sendEmailToUsers", ReadOnly=true, FieldType="WorkflowStatus")]
  4232.         public System.Nullable<int> SendEmailToUsers {
  4233.             get {
  4234.                 return this._sendEmailToUsers;
  4235.             }
  4236.             set {
  4237.                 if ((value != this._sendEmailToUsers)) {
  4238.                     this.OnPropertyChanging("SendEmailToUsers", this._sendEmailToUsers);
  4239.                     this._sendEmailToUsers = value;
  4240.                     this.OnPropertyChanged("SendEmailToUsers");
  4241.                 }
  4242.             }
  4243.         }
  4244.        
  4245.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="SiteCrea", Storage="_siteCreationWorkflow", ReadOnly=true, FieldType="WorkflowStatus")]
  4246.         public System.Nullable<int> SiteCreationWorkflow {
  4247.             get {
  4248.                 return this._siteCreationWorkflow;
  4249.             }
  4250.             set {
  4251.                 if ((value != this._siteCreationWorkflow)) {
  4252.                     this.OnPropertyChanging("SiteCreationWorkflow", this._siteCreationWorkflow);
  4253.                     this._siteCreationWorkflow = value;
  4254.                     this.OnPropertyChanged("SiteCreationWorkflow");
  4255.                 }
  4256.             }
  4257.         }
  4258.        
  4259.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="sc_x0020_creation_x0020_time", Storage="_scCreationTime", FieldType="DateTime")]
  4260.         public System.Nullable<System.DateTime> ScCreationTime {
  4261.             get {
  4262.                 return this._scCreationTime;
  4263.             }
  4264.             set {
  4265.                 if ((value != this._scCreationTime)) {
  4266.                     this.OnPropertyChanging("ScCreationTime", this._scCreationTime);
  4267.                     this._scCreationTime = value;
  4268.                     this.OnPropertyChanged("ScCreationTime");
  4269.                 }
  4270.             }
  4271.         }
  4272.        
  4273.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="sc_x0020_URL", Storage="_scURL", FieldType="Text")]
  4274.         public string ScURL {
  4275.             get {
  4276.                 return this._scURL;
  4277.             }
  4278.             set {
  4279.                 if ((value != this._scURL)) {
  4280.                     this.OnPropertyChanging("ScURL", this._scURL);
  4281.                     this._scURL = value;
  4282.                     this.OnPropertyChanged("ScURL");
  4283.                 }
  4284.             }
  4285.         }
  4286.        
  4287.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="sc_x0020_template_x0020_url", Storage="_scTemplateUrl", FieldType="Text")]
  4288.         public string ScTemplateUrl {
  4289.             get {
  4290.                 return this._scTemplateUrl;
  4291.             }
  4292.             set {
  4293.                 if ((value != this._scTemplateUrl)) {
  4294.                     this.OnPropertyChanging("ScTemplateUrl", this._scTemplateUrl);
  4295.                     this._scTemplateUrl = value;
  4296.                     this.OnPropertyChanged("ScTemplateUrl");
  4297.                 }
  4298.             }
  4299.         }
  4300.        
  4301.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="sc_x0020_exists", Storage="_scExists", FieldType="Boolean")]
  4302.         public System.Nullable<bool> ScExists {
  4303.             get {
  4304.                 return this._scExists;
  4305.             }
  4306.             set {
  4307.                 if ((value != this._scExists)) {
  4308.                     this.OnPropertyChanging("ScExists", this._scExists);
  4309.                     this._scExists = value;
  4310.                     this.OnPropertyChanged("ScExists");
  4311.                 }
  4312.             }
  4313.         }
  4314.        
  4315.         /// <summary>
  4316.         /// The Owner(s) given here, the requester, as well as your organization’s appointed key user (if applicable) will be added to the owners group per default. This can be changed with assistance of your key user after creation.
  4317.         /// </summary>
  4318.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="Owner", Storage="_ownerId", Required=true, FieldType="User", IsLookupId=true)]
  4319.         public System.Collections.Generic.IList<System.Nullable<int>> OwnerId {
  4320.             get {
  4321.                 return this._ownerId;
  4322.             }
  4323.             set {
  4324.                 this._ownerId.Assign(value);
  4325.             }
  4326.         }
  4327.        
  4328.         /// <summary>
  4329.         /// The Owner(s) given here, the requester, as well as your organization’s appointed key user (if applicable) will be added to the owners group per default. This can be changed with assistance of your key user after creation.
  4330.         /// </summary>
  4331.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="Owner", Storage="_ownerImnName", ReadOnly=true, FieldType="User", IsLookupValue=true)]
  4332.         public System.Collections.Generic.IList<string> OwnerImnName {
  4333.             get {
  4334.                 return this._ownerImnName;
  4335.             }
  4336.             set {
  4337.                 this._ownerImnName.Assign(value);
  4338.             }
  4339.         }
  4340.        
  4341.         /// <summary>
  4342.         /// Team members to work on and contribute to the site (write-access).
  4343.         /// </summary>
  4344.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="Site_x0020_Members", Storage="_siteMembersId", Required=true, FieldType="User", IsLookupId=true)]
  4345.         public System.Collections.Generic.IList<System.Nullable<int>> SiteMembersId {
  4346.             get {
  4347.                 return this._siteMembersId;
  4348.             }
  4349.             set {
  4350.                 this._siteMembersId.Assign(value);
  4351.             }
  4352.         }
  4353.        
  4354.         /// <summary>
  4355.         /// Team members to work on and contribute to the site (write-access).
  4356.         /// </summary>
  4357.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="Site_x0020_Members", Storage="_siteMembersImnName", ReadOnly=true, FieldType="User", IsLookupValue=true)]
  4358.         public System.Collections.Generic.IList<string> SiteMembersImnName {
  4359.             get {
  4360.                 return this._siteMembersImnName;
  4361.             }
  4362.             set {
  4363.                 this._siteMembersImnName.Assign(value);
  4364.             }
  4365.         }
  4366.        
  4367.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="sc_x0020_creator", Storage="_scCreatorId", FieldType="User", IsLookupId=true)]
  4368.         public System.Nullable<int> ScCreatorId {
  4369.             get {
  4370.                 return this._scCreatorId;
  4371.             }
  4372.             set {
  4373.                 if ((value != this._scCreatorId)) {
  4374.                     this.OnPropertyChanging("ScCreatorId", this._scCreatorId);
  4375.                     this._scCreatorId = value;
  4376.                     this.OnPropertyChanged("ScCreatorId");
  4377.                 }
  4378.             }
  4379.         }
  4380.        
  4381.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="sc_x0020_creator", Storage="_scCreator", ReadOnly=true, FieldType="User", IsLookupValue=true)]
  4382.         public string ScCreator {
  4383.             get {
  4384.                 return this._scCreator;
  4385.             }
  4386.             set {
  4387.                 if ((value != this._scCreator)) {
  4388.                     this.OnPropertyChanging("ScCreator", this._scCreator);
  4389.                     this._scCreator = value;
  4390.                     this.OnPropertyChanged("ScCreator");
  4391.                 }
  4392.             }
  4393.         }
  4394.        
  4395.         private void Initialize() {
  4396.             this._ownerId.OnChanged += new System.EventHandler(this.OnOwnerIdChanged);
  4397.             this._ownerId.OnChanging += new System.EventHandler(this.OnOwnerIdChanging);
  4398.             this._ownerImnName.OnChanged += new System.EventHandler(this.OnOwnerImnNameChanged);
  4399.             this._ownerImnName.OnChanging += new System.EventHandler(this.OnOwnerImnNameChanging);
  4400.             this._siteMembersId.OnChanged += new System.EventHandler(this.OnSiteMembersIdChanged);
  4401.             this._siteMembersId.OnChanging += new System.EventHandler(this.OnSiteMembersIdChanging);
  4402.             this._siteMembersImnName.OnChanged += new System.EventHandler(this.OnSiteMembersImnNameChanged);
  4403.             this._siteMembersImnName.OnChanging += new System.EventHandler(this.OnSiteMembersImnNameChanging);
  4404.             this.OnCreated();
  4405.         }
  4406.        
  4407.         [System.Runtime.Serialization.OnDeserializedAttribute()]
  4408.         private void OnDeserialized(System.Runtime.Serialization.StreamingContext context) {
  4409.             this.Initialize();
  4410.         }
  4411.        
  4412.         private void OnOwnerIdChanging(object sender, System.EventArgs e) {
  4413.             this.OnPropertyChanging("OwnerId", this._ownerId.Clone());
  4414.         }
  4415.        
  4416.         private void OnOwnerIdChanged(object sender, System.EventArgs e) {
  4417.             this.OnPropertyChanged("OwnerId");
  4418.         }
  4419.        
  4420.         private void OnOwnerImnNameChanging(object sender, System.EventArgs e) {
  4421.             this.OnPropertyChanging("OwnerImnName", this._ownerImnName.Clone());
  4422.         }
  4423.        
  4424.         private void OnOwnerImnNameChanged(object sender, System.EventArgs e) {
  4425.             this.OnPropertyChanged("OwnerImnName");
  4426.         }
  4427.        
  4428.         private void OnSiteMembersIdChanging(object sender, System.EventArgs e) {
  4429.             this.OnPropertyChanging("SiteMembersId", this._siteMembersId.Clone());
  4430.         }
  4431.        
  4432.         private void OnSiteMembersIdChanged(object sender, System.EventArgs e) {
  4433.             this.OnPropertyChanged("SiteMembersId");
  4434.         }
  4435.        
  4436.         private void OnSiteMembersImnNameChanging(object sender, System.EventArgs e) {
  4437.             this.OnPropertyChanging("SiteMembersImnName", this._siteMembersImnName.Clone());
  4438.         }
  4439.        
  4440.         private void OnSiteMembersImnNameChanged(object sender, System.EventArgs e) {
  4441.             this.OnPropertyChanged("SiteMembersImnName");
  4442.         }
  4443.     }
  4444.    
  4445.     [Microsoft.SharePoint.Linq.ContentTypeAttribute(Name="Generic", Id="0x01", List="workspaces")]
  4446.     [System.Runtime.Serialization.DataContractAttribute()]
  4447.     public partial class WorkspacesGeneric : Item {
  4448.        
  4449.         [System.Runtime.Serialization.DataMemberAttribute()]
  4450.         private string _shortTitle;
  4451.        
  4452.         [System.Runtime.Serialization.DataMemberAttribute()]
  4453.         private System.Nullable<bool> _public;
  4454.        
  4455.         [System.Runtime.Serialization.DataMemberAttribute()]
  4456.         private string _intendedUsageComments;
  4457.        
  4458.         [System.Runtime.Serialization.DataMemberAttribute()]
  4459.         private string _org;
  4460.        
  4461.         [System.Runtime.Serialization.DataMemberAttribute()]
  4462.         private string _accTicket;
  4463.        
  4464.         [System.Runtime.Serialization.DataMemberAttribute()]
  4465.         private System.Nullable<WorkspaceChoice> _workspaceChoice;
  4466.        
  4467.         [System.Runtime.Serialization.DataMemberAttribute()]
  4468.         private Microsoft.SharePoint.Linq.LookupList<System.Nullable<int>> _ownerId;
  4469.        
  4470.         [System.Runtime.Serialization.DataMemberAttribute()]
  4471.         private Microsoft.SharePoint.Linq.LookupList<string> _ownerImnName;
  4472.        
  4473.         [System.Runtime.Serialization.DataMemberAttribute()]
  4474.         private System.Nullable<int> _keyUserAreaId;
  4475.        
  4476.         [System.Runtime.Serialization.DataMemberAttribute()]
  4477.         private string _keyUserAreaTemp;
  4478.        
  4479.         [System.Runtime.Serialization.DataMemberAttribute()]
  4480.         private Microsoft.SharePoint.Linq.LookupList<System.Nullable<int>> _siteMembersId;
  4481.        
  4482.         [System.Runtime.Serialization.DataMemberAttribute()]
  4483.         private Microsoft.SharePoint.Linq.LookupList<string> _siteMembersImnName;
  4484.        
  4485.         [System.Runtime.Serialization.DataMemberAttribute()]
  4486.         private Microsoft.SharePoint.Linq.LookupList<System.Nullable<int>> _lineManagerId;
  4487.        
  4488.         [System.Runtime.Serialization.DataMemberAttribute()]
  4489.         private Microsoft.SharePoint.Linq.LookupList<string> _lineManagerImnName;
  4490.        
  4491.         #region Extensibility Method Definitions
  4492.         partial void OnLoaded();
  4493.         partial void OnValidate();
  4494.         partial void OnCreated();
  4495.         #endregion
  4496.        
  4497.         public WorkspacesGeneric() {
  4498.             this._ownerId = new Microsoft.SharePoint.Linq.LookupList<System.Nullable<int>>();
  4499.             this._ownerImnName = new Microsoft.SharePoint.Linq.LookupList<string>();
  4500.             this._siteMembersId = new Microsoft.SharePoint.Linq.LookupList<System.Nullable<int>>();
  4501.             this._siteMembersImnName = new Microsoft.SharePoint.Linq.LookupList<string>();
  4502.             this._lineManagerId = new Microsoft.SharePoint.Linq.LookupList<System.Nullable<int>>();
  4503.             this._lineManagerImnName = new Microsoft.SharePoint.Linq.LookupList<string>();
  4504.             this.Initialize();
  4505.         }
  4506.        
  4507.         /// <summary>
  4508.         /// Short token used in the URL that can identify your site sufficiently, but does not contain any blanks or special character, e.g. "GSMRcomms". Maximum 15 characters!
  4509.         /// </summary>
  4510.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="Short_x0020_Title", Storage="_shortTitle", Required=true, FieldType="Text")]
  4511.         public string ShortTitle {
  4512.             get {
  4513.                 return this._shortTitle;
  4514.             }
  4515.             set {
  4516.                 if ((value != this._shortTitle)) {
  4517.                     this.OnPropertyChanging("ShortTitle", this._shortTitle);
  4518.                     this._shortTitle = value;
  4519.                     this.OnPropertyChanged("ShortTitle");
  4520.                 }
  4521.             }
  4522.         }
  4523.        
  4524.         /// <summary>
  4525.         /// Allow all NSN employees to read-access your site?
  4526.         /// </summary>
  4527.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="Public", Storage="_public", FieldType="Boolean")]
  4528.         public System.Nullable<bool> Public {
  4529.             get {
  4530.                 return this._public;
  4531.             }
  4532.             set {
  4533.                 if ((value != this._public)) {
  4534.                     this.OnPropertyChanging("Public", this._public);
  4535.                     this._public = value;
  4536.                     this.OnPropertyChanged("Public");
  4537.                 }
  4538.             }
  4539.         }
  4540.        
  4541.         /// <summary>
  4542.         /// Press "Save" to request the site. It will be created within 48hrs based on a standard template and your Key User can help you modify as per your needs.
  4543.         /// </summary>
  4544.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="Intended_x0020_Usage_x0020__x0020", Storage="_intendedUsageComments", FieldType="Note")]
  4545.         public string IntendedUsageComments {
  4546.             get {
  4547.                 return this._intendedUsageComments;
  4548.             }
  4549.             set {
  4550.                 if ((value != this._intendedUsageComments)) {
  4551.                     this.OnPropertyChanging("IntendedUsageComments", this._intendedUsageComments);
  4552.                     this._intendedUsageComments = value;
  4553.                     this.OnPropertyChanged("IntendedUsageComments");
  4554.                 }
  4555.             }
  4556.         }
  4557.        
  4558.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="Org", Storage="_org", FieldType="Text")]
  4559.         public string Org {
  4560.             get {
  4561.                 return this._org;
  4562.             }
  4563.             set {
  4564.                 if ((value != this._org)) {
  4565.                     this.OnPropertyChanging("Org", this._org);
  4566.                     this._org = value;
  4567.                     this.OnPropertyChanged("Org");
  4568.                 }
  4569.             }
  4570.         }
  4571.        
  4572.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="Acc_x002e__x0020_Ticket_x0020__x", Storage="_accTicket", FieldType="Text")]
  4573.         public string AccTicket {
  4574.             get {
  4575.                 return this._accTicket;
  4576.             }
  4577.             set {
  4578.                 if ((value != this._accTicket)) {
  4579.                     this.OnPropertyChanging("AccTicket", this._accTicket);
  4580.                     this._accTicket = value;
  4581.                     this.OnPropertyChanged("AccTicket");
  4582.                 }
  4583.             }
  4584.         }
  4585.        
  4586.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="Workspace_x0020_choice", Storage="_workspaceChoice", Required=true, FieldType="Choice")]
  4587.         public System.Nullable<WorkspaceChoice> WorkspaceChoice {
  4588.             get {
  4589.                 return this._workspaceChoice;
  4590.             }
  4591.             set {
  4592.                 if ((value != this._workspaceChoice)) {
  4593.                     this.OnPropertyChanging("WorkspaceChoice", this._workspaceChoice);
  4594.                     this._workspaceChoice = value;
  4595.                     this.OnPropertyChanged("WorkspaceChoice");
  4596.                 }
  4597.             }
  4598.         }
  4599.        
  4600.         /// <summary>
  4601.         /// The Owner(s) given here, the requester, as well as your organization’s appointed key user (if applicable) will be added to the owners group per default. This can be changed with assistance of your key user after creation.
  4602.         /// </summary>
  4603.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="Owner", Storage="_ownerId", Required=true, FieldType="User", IsLookupId=true)]
  4604.         public System.Collections.Generic.IList<System.Nullable<int>> OwnerId {
  4605.             get {
  4606.                 return this._ownerId;
  4607.             }
  4608.             set {
  4609.                 this._ownerId.Assign(value);
  4610.             }
  4611.         }
  4612.        
  4613.         /// <summary>
  4614.         /// The Owner(s) given here, the requester, as well as your organization’s appointed key user (if applicable) will be added to the owners group per default. This can be changed with assistance of your key user after creation.
  4615.         /// </summary>
  4616.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="Owner", Storage="_ownerImnName", ReadOnly=true, FieldType="User", IsLookupValue=true)]
  4617.         public System.Collections.Generic.IList<string> OwnerImnName {
  4618.             get {
  4619.                 return this._ownerImnName;
  4620.             }
  4621.             set {
  4622.                 this._ownerImnName.Assign(value);
  4623.             }
  4624.         }
  4625.        
  4626.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="Organization", Storage="_keyUserAreaId", FieldType="Lookup", IsLookupId=true)]
  4627.         public System.Nullable<int> KeyUserAreaId {
  4628.             get {
  4629.                 return this._keyUserAreaId;
  4630.             }
  4631.             set {
  4632.                 if ((value != this._keyUserAreaId)) {
  4633.                     this.OnPropertyChanging("KeyUserAreaId", this._keyUserAreaId);
  4634.                     this._keyUserAreaId = value;
  4635.                     this.OnPropertyChanged("KeyUserAreaId");
  4636.                 }
  4637.             }
  4638.         }
  4639.        
  4640.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="Organization", Storage="_keyUserAreaTemp", ReadOnly=true, FieldType="Lookup", IsLookupValue=true)]
  4641.         public string KeyUserAreaTemp {
  4642.             get {
  4643.                 return this._keyUserAreaTemp;
  4644.             }
  4645.             set {
  4646.                 if ((value != this._keyUserAreaTemp)) {
  4647.                     this.OnPropertyChanging("KeyUserAreaTemp", this._keyUserAreaTemp);
  4648.                     this._keyUserAreaTemp = value;
  4649.                     this.OnPropertyChanged("KeyUserAreaTemp");
  4650.                 }
  4651.             }
  4652.         }
  4653.        
  4654.         /// <summary>
  4655.         /// Team members to work on and contribute to the site (write-access).
  4656.         /// </summary>
  4657.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="Site_x0020_Members", Storage="_siteMembersId", FieldType="User", IsLookupId=true)]
  4658.         public System.Collections.Generic.IList<System.Nullable<int>> SiteMembersId {
  4659.             get {
  4660.                 return this._siteMembersId;
  4661.             }
  4662.             set {
  4663.                 this._siteMembersId.Assign(value);
  4664.             }
  4665.         }
  4666.        
  4667.         /// <summary>
  4668.         /// Team members to work on and contribute to the site (write-access).
  4669.         /// </summary>
  4670.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="Site_x0020_Members", Storage="_siteMembersImnName", ReadOnly=true, FieldType="User", IsLookupValue=true)]
  4671.         public System.Collections.Generic.IList<string> SiteMembersImnName {
  4672.             get {
  4673.                 return this._siteMembersImnName;
  4674.             }
  4675.             set {
  4676.                 this._siteMembersImnName.Assign(value);
  4677.             }
  4678.         }
  4679.        
  4680.         /// <summary>
  4681.         /// Enter your line manager for site creation approval.
  4682.         /// </summary>
  4683.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="Line_x0020_Manager", Storage="_lineManagerId", FieldType="User", IsLookupId=true)]
  4684.         public System.Collections.Generic.IList<System.Nullable<int>> LineManagerId {
  4685.             get {
  4686.                 return this._lineManagerId;
  4687.             }
  4688.             set {
  4689.                 this._lineManagerId.Assign(value);
  4690.             }
  4691.         }
  4692.        
  4693.         /// <summary>
  4694.         /// Enter your line manager for site creation approval.
  4695.         /// </summary>
  4696.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="Line_x0020_Manager", Storage="_lineManagerImnName", ReadOnly=true, FieldType="User", IsLookupValue=true)]
  4697.         public System.Collections.Generic.IList<string> LineManagerImnName {
  4698.             get {
  4699.                 return this._lineManagerImnName;
  4700.             }
  4701.             set {
  4702.                 this._lineManagerImnName.Assign(value);
  4703.             }
  4704.         }
  4705.        
  4706.         private void Initialize() {
  4707.             this._ownerId.OnChanged += new System.EventHandler(this.OnOwnerIdChanged);
  4708.             this._ownerId.OnChanging += new System.EventHandler(this.OnOwnerIdChanging);
  4709.             this._ownerImnName.OnChanged += new System.EventHandler(this.OnOwnerImnNameChanged);
  4710.             this._ownerImnName.OnChanging += new System.EventHandler(this.OnOwnerImnNameChanging);
  4711.             this._siteMembersId.OnChanged += new System.EventHandler(this.OnSiteMembersIdChanged);
  4712.             this._siteMembersId.OnChanging += new System.EventHandler(this.OnSiteMembersIdChanging);
  4713.             this._siteMembersImnName.OnChanged += new System.EventHandler(this.OnSiteMembersImnNameChanged);
  4714.             this._siteMembersImnName.OnChanging += new System.EventHandler(this.OnSiteMembersImnNameChanging);
  4715.             this._lineManagerId.OnChanged += new System.EventHandler(this.OnLineManagerIdChanged);
  4716.             this._lineManagerId.OnChanging += new System.EventHandler(this.OnLineManagerIdChanging);
  4717.             this._lineManagerImnName.OnChanged += new System.EventHandler(this.OnLineManagerImnNameChanged);
  4718.             this._lineManagerImnName.OnChanging += new System.EventHandler(this.OnLineManagerImnNameChanging);
  4719.             this.OnCreated();
  4720.         }
  4721.        
  4722.         [System.Runtime.Serialization.OnDeserializedAttribute()]
  4723.         private void OnDeserialized(System.Runtime.Serialization.StreamingContext context) {
  4724.             this.Initialize();
  4725.         }
  4726.        
  4727.         private void OnOwnerIdChanging(object sender, System.EventArgs e) {
  4728.             this.OnPropertyChanging("OwnerId", this._ownerId.Clone());
  4729.         }
  4730.        
  4731.         private void OnOwnerIdChanged(object sender, System.EventArgs e) {
  4732.             this.OnPropertyChanged("OwnerId");
  4733.         }
  4734.        
  4735.         private void OnOwnerImnNameChanging(object sender, System.EventArgs e) {
  4736.             this.OnPropertyChanging("OwnerImnName", this._ownerImnName.Clone());
  4737.         }
  4738.        
  4739.         private void OnOwnerImnNameChanged(object sender, System.EventArgs e) {
  4740.             this.OnPropertyChanged("OwnerImnName");
  4741.         }
  4742.        
  4743.         private void OnSiteMembersIdChanging(object sender, System.EventArgs e) {
  4744.             this.OnPropertyChanging("SiteMembersId", this._siteMembersId.Clone());
  4745.         }
  4746.        
  4747.         private void OnSiteMembersIdChanged(object sender, System.EventArgs e) {
  4748.             this.OnPropertyChanged("SiteMembersId");
  4749.         }
  4750.        
  4751.         private void OnSiteMembersImnNameChanging(object sender, System.EventArgs e) {
  4752.             this.OnPropertyChanging("SiteMembersImnName", this._siteMembersImnName.Clone());
  4753.         }
  4754.        
  4755.         private void OnSiteMembersImnNameChanged(object sender, System.EventArgs e) {
  4756.             this.OnPropertyChanged("SiteMembersImnName");
  4757.         }
  4758.        
  4759.         private void OnLineManagerIdChanging(object sender, System.EventArgs e) {
  4760.             this.OnPropertyChanging("LineManagerId", this._lineManagerId.Clone());
  4761.         }
  4762.        
  4763.         private void OnLineManagerIdChanged(object sender, System.EventArgs e) {
  4764.             this.OnPropertyChanged("LineManagerId");
  4765.         }
  4766.        
  4767.         private void OnLineManagerImnNameChanging(object sender, System.EventArgs e) {
  4768.             this.OnPropertyChanging("LineManagerImnName", this._lineManagerImnName.Clone());
  4769.         }
  4770.        
  4771.         private void OnLineManagerImnNameChanged(object sender, System.EventArgs e) {
  4772.             this.OnPropertyChanged("LineManagerImnName");
  4773.         }
  4774.     }
  4775.    
  4776.     [Microsoft.SharePoint.Linq.ContentTypeAttribute(Name="Blog", Id="0x01", List="workspaces")]
  4777.     [System.Runtime.Serialization.DataContractAttribute()]
  4778.     public partial class WorkspacesBlog : Item {
  4779.        
  4780.         [System.Runtime.Serialization.DataMemberAttribute()]
  4781.         private string _uRLName;
  4782.        
  4783.         [System.Runtime.Serialization.DataMemberAttribute()]
  4784.         private string _typeOfWorkspace;
  4785.        
  4786.         [System.Runtime.Serialization.DataMemberAttribute()]
  4787.         private string _org;
  4788.        
  4789.         [System.Runtime.Serialization.DataMemberAttribute()]
  4790.         private string _accTicket;
  4791.        
  4792.         #region Extensibility Method Definitions
  4793.         partial void OnLoaded();
  4794.         partial void OnValidate();
  4795.         partial void OnCreated();
  4796.         #endregion
  4797.        
  4798.         public WorkspacesBlog() {
  4799.             this.Initialize();
  4800.         }
  4801.        
  4802.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="Project_x0020_Code", Storage="_uRLName", ReadOnly=true, IsCalculated=true, FieldType="Text")]
  4803.         public string URLName {
  4804.             get {
  4805.                 return this._uRLName;
  4806.             }
  4807.             set {
  4808.                 if ((value != this._uRLName)) {
  4809.                     this.OnPropertyChanging("URLName", this._uRLName);
  4810.                     this._uRLName = value;
  4811.                     this.OnPropertyChanged("URLName");
  4812.                 }
  4813.             }
  4814.         }
  4815.        
  4816.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="Type_x0020_of_x0020_Workspace", Storage="_typeOfWorkspace", ReadOnly=true, IsCalculated=true, FieldType="Text")]
  4817.         public string TypeOfWorkspace {
  4818.             get {
  4819.                 return this._typeOfWorkspace;
  4820.             }
  4821.             set {
  4822.                 if ((value != this._typeOfWorkspace)) {
  4823.                     this.OnPropertyChanging("TypeOfWorkspace", this._typeOfWorkspace);
  4824.                     this._typeOfWorkspace = value;
  4825.                     this.OnPropertyChanged("TypeOfWorkspace");
  4826.                 }
  4827.             }
  4828.         }
  4829.        
  4830.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="Org", Storage="_org", FieldType="Text")]
  4831.         public string Org {
  4832.             get {
  4833.                 return this._org;
  4834.             }
  4835.             set {
  4836.                 if ((value != this._org)) {
  4837.                     this.OnPropertyChanging("Org", this._org);
  4838.                     this._org = value;
  4839.                     this.OnPropertyChanged("Org");
  4840.                 }
  4841.             }
  4842.         }
  4843.        
  4844.         [Microsoft.SharePoint.Linq.ColumnAttribute(Name="Acc_x002e__x0020_Ticket_x0020__x", Storage="_accTicket", FieldType="Text")]
  4845.         public string AccTicket {
  4846.             get {
  4847.                 return this._accTicket;
  4848.             }
  4849.             set {
  4850.                 if ((value != this._accTicket)) {
  4851.                     this.OnPropertyChanging("AccTicket", this._accTicket);
  4852.                     this._accTicket = value;
  4853.                     this.OnPropertyChanged("AccTicket");
  4854.                 }
  4855.             }
  4856.         }
  4857.        
  4858.         private void Initialize() {
  4859.             this.OnCreated();
  4860.         }
  4861.        
  4862.         [System.Runtime.Serialization.OnDeserializedAttribute()]
  4863.         private void OnDeserialized(System.Runtime.Serialization.StreamingContext context) {
  4864.             this.Initialize();
  4865.         }
  4866.     }
  4867.    
  4868.     public enum Category : int {
  4869.        
  4870.         None = 0,
  4871.        
  4872.         Invalid = 1,
  4873.        
  4874.         [Microsoft.SharePoint.Linq.ChoiceAttribute(Value="(1) Category1")]
  4875.         _1Category1 = 2,
  4876.        
  4877.         [Microsoft.SharePoint.Linq.ChoiceAttribute(Value="(2) Category2")]
  4878.         _2Category2 = 4,
  4879.        
  4880.         [Microsoft.SharePoint.Linq.ChoiceAttribute(Value="(3) Category3")]
  4881.         _3Category3 = 8,
  4882.     }
  4883.    
  4884.     public enum Priority : int {
  4885.        
  4886.         None = 0,
  4887.        
  4888.         Invalid = 1,
  4889.        
  4890.         [Microsoft.SharePoint.Linq.ChoiceAttribute(Value="(1) High")]
  4891.         _1High = 2,
  4892.        
  4893.         [Microsoft.SharePoint.Linq.ChoiceAttribute(Value="(2) Normal")]
  4894.         _2Normal = 4,
  4895.        
  4896.         [Microsoft.SharePoint.Linq.ChoiceAttribute(Value="(3) Low")]
  4897.         _3Low = 8,
  4898.     }
  4899.    
  4900.     public enum TaskStatus : int {
  4901.        
  4902.         None = 0,
  4903.        
  4904.         Invalid = 1,
  4905.        
  4906.         [Microsoft.SharePoint.Linq.ChoiceAttribute(Value="Not Started")]
  4907.         NotStarted = 2,
  4908.        
  4909.         [Microsoft.SharePoint.Linq.ChoiceAttribute(Value="In Progress")]
  4910.         InProgress = 4,
  4911.        
  4912.         [Microsoft.SharePoint.Linq.ChoiceAttribute(Value="Completed")]
  4913.         Completed = 8,
  4914.        
  4915.         [Microsoft.SharePoint.Linq.ChoiceAttribute(Value="Deferred")]
  4916.         Deferred = 16,
  4917.        
  4918.         [Microsoft.SharePoint.Linq.ChoiceAttribute(Value="Waiting on someone else")]
  4919.         WaitingOnSomeoneElse = 32,
  4920.     }
  4921.    
  4922.     public enum Status : int {
  4923.        
  4924.         None = 0,
  4925.        
  4926.         Invalid = 1,
  4927.        
  4928.         [Microsoft.SharePoint.Linq.ChoiceAttribute(Value="In Progress")]
  4929.         InProgress = 2,
  4930.        
  4931.         [Microsoft.SharePoint.Linq.ChoiceAttribute(Value="RMT")]
  4932.         RMT = 4,
  4933.     }
  4934.    
  4935.     public enum WorkspaceChoice : int {
  4936.        
  4937.         None = 0,
  4938.        
  4939.         Invalid = 1,
  4940.        
  4941.         [Microsoft.SharePoint.Linq.ChoiceAttribute(Value="Project Workspace")]
  4942.         ProjectWorkspace = 2,
  4943.        
  4944.         [Microsoft.SharePoint.Linq.ChoiceAttribute(Value="Team Workspace")]
  4945.         TeamWorkspace = 4,
  4946.        
  4947.         [Microsoft.SharePoint.Linq.ChoiceAttribute(Value="Community Workspace")]
  4948.         CommunityWorkspace = 8,
  4949.     }
  4950. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement