main / Source / Excel / Excel.BizLogic / Service References / DataUpService / Reference.cs

//------------------------------------------------------------------------------
// <auto-generated>
//     This code was generated by a tool.
//     Runtime Version:4.0.30319.269
//
//     Changes to this file may cause incorrect behavior and will be lost if
//     the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------

// Original file name:
// Generation date: 7/25/2012 11:32:42 AM
namespace DataUp.Excel.BizLogic.DataUpService
{
    
    /// <summary>
    /// There are no comments for RepositoryDataContext in the schema.
    /// </summary>
    public partial class RepositoryDataContext : global::System.Data.Services.Client.DataServiceContext
    {
        /// <summary>
        /// Initialize a new RepositoryDataContext object.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public RepositoryDataContext(global::System.Uri serviceRoot) : 
                base(serviceRoot)
        {
            this.ResolveName = new global::System.Func<global::System.Type, string>(this.ResolveNameFromType);
            this.ResolveType = new global::System.Func<string, global::System.Type>(this.ResolveTypeFromName);
            this.OnContextCreated();
        }
        partial void OnContextCreated();
        /// <summary>
        /// Since the namespace configured for this service reference
        /// in Visual Studio is different from the one indicated in the
        /// server schema, use type-mappers to map between the two.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        protected global::System.Type ResolveTypeFromName(string typeName)
        {
            if (typeName.StartsWith("DataUp.Excel.Web.Service.Model", global::System.StringComparison.Ordinal))
            {
                return this.GetType().Assembly.GetType(string.Concat("DataUp.Excel.BizLogic.DataUpService", typeName.Substring(30)), false);
            }
            return null;
        }
        /// <summary>
        /// Since the namespace configured for this service reference
        /// in Visual Studio is different from the one indicated in the
        /// server schema, use type-mappers to map between the two.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        protected string ResolveNameFromType(global::System.Type clientType)
        {
            if (clientType.Namespace.Equals("DataUp.Excel.BizLogic.DataUpService", global::System.StringComparison.Ordinal))
            {
                return string.Concat("DataUp.Excel.Web.Service.Model.", clientType.Name);
            }
            return null;
        }
        /// <summary>
        /// There are no comments for Repositories in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public global::System.Data.Services.Client.DataServiceQuery<RepositoryDetail> Repositories
        {
            get
            {
                if ((this._Repositories == null))
                {
                    this._Repositories = base.CreateQuery<RepositoryDetail>("Repositories");
                }
                return this._Repositories;
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private global::System.Data.Services.Client.DataServiceQuery<RepositoryDetail> _Repositories;
        /// <summary>
        /// There are no comments for Repositories in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public void AddToRepositories(RepositoryDetail repositoryDetail)
        {
            base.AddObject("Repositories", repositoryDetail);
        }
    }
    /// <summary>
    /// There are no comments for DataUp.Excel.Web.Service.Model.RepositoryDetail in the schema.
    /// </summary>
    /// <KeyProperties>
    /// RepositoryId
    /// </KeyProperties>
    [global::System.Data.Services.Common.EntitySetAttribute("Repositories")]
    [global::System.Data.Services.Common.DataServiceKeyAttribute("RepositoryId")]
    public partial class RepositoryDetail : global::System.ComponentModel.INotifyPropertyChanged
    {
        /// <summary>
        /// Create a new RepositoryDetail object.
        /// </summary>
        /// <param name="repositoryId">Initial value of RepositoryId.</param>
        /// <param name="isPasswordRequired">Initial value of IsPasswordRequired.</param>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public static RepositoryDetail CreateRepositoryDetail(int repositoryId, bool isPasswordRequired)
        {
            RepositoryDetail repositoryDetail = new RepositoryDetail();
            repositoryDetail.RepositoryId = repositoryId;
            repositoryDetail.IsPasswordRequired = isPasswordRequired;
            return repositoryDetail;
        }
        /// <summary>
        /// There are no comments for Property RepositoryId in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public int RepositoryId
        {
            get
            {
                return this._RepositoryId;
            }
            set
            {
                this.OnRepositoryIdChanging(value);
                this._RepositoryId = value;
                this.OnRepositoryIdChanged();
                this.OnPropertyChanged("RepositoryId");
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private int _RepositoryId;
        partial void OnRepositoryIdChanging(int value);
        partial void OnRepositoryIdChanged();
        /// <summary>
        /// There are no comments for Property RepositoryName in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string RepositoryName
        {
            get
            {
                return this._RepositoryName;
            }
            set
            {
                this.OnRepositoryNameChanging(value);
                this._RepositoryName = value;
                this.OnRepositoryNameChanged();
                this.OnPropertyChanged("RepositoryName");
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _RepositoryName;
        partial void OnRepositoryNameChanging(string value);
        partial void OnRepositoryNameChanged();
        /// <summary>
        /// There are no comments for Property IdentifierLink in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string IdentifierLink
        {
            get
            {
                return this._IdentifierLink;
            }
            set
            {
                this.OnIdentifierLinkChanging(value);
                this._IdentifierLink = value;
                this.OnIdentifierLinkChanged();
                this.OnPropertyChanged("IdentifierLink");
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _IdentifierLink;
        partial void OnIdentifierLinkChanging(string value);
        partial void OnIdentifierLinkChanged();
        /// <summary>
        /// There are no comments for Property PostFileLink in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string PostFileLink
        {
            get
            {
                return this._PostFileLink;
            }
            set
            {
                this.OnPostFileLinkChanging(value);
                this._PostFileLink = value;
                this.OnPostFileLinkChanged();
                this.OnPropertyChanged("PostFileLink");
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _PostFileLink;
        partial void OnPostFileLinkChanging(string value);
        partial void OnPostFileLinkChanged();
        /// <summary>
        /// There are no comments for Property Type in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string Type
        {
            get
            {
                return this._Type;
            }
            set
            {
                this.OnTypeChanging(value);
                this._Type = value;
                this.OnTypeChanged();
                this.OnPropertyChanged("Type");
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _Type;
        partial void OnTypeChanging(string value);
        partial void OnTypeChanged();
        /// <summary>
        /// There are no comments for Property IsPasswordRequired in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public bool IsPasswordRequired
        {
            get
            {
                return this._IsPasswordRequired;
            }
            set
            {
                this.OnIsPasswordRequiredChanging(value);
                this._IsPasswordRequired = value;
                this.OnIsPasswordRequiredChanged();
                this.OnPropertyChanged("IsPasswordRequired");
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private bool _IsPasswordRequired;
        partial void OnIsPasswordRequiredChanging(bool value);
        partial void OnIsPasswordRequiredChanged();
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public event global::System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        protected virtual void OnPropertyChanged(string property)
        {
            if ((this.PropertyChanged != null))
            {
                this.PropertyChanged(this, new global::System.ComponentModel.PropertyChangedEventArgs(property));
            }
        }
    }
}
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.