C# Класс Microsoft.WindowsAzure.Commands.SqlDatabase.Services.Server.ServerDataServiceContext

Common abstract class for the generated ServerContextInternal class.
Наследование: Microsoft.WindowsAzure.Commands.SqlDatabase.Services.Server.ServerContextInternal
Показать файл Открыть проект

Защищенные методы

Метод Описание
OnEnhanceRequest ( HttpWebRequest request ) : void

Handler to add additional headers and properties to the request.

RefreshEntity ( Microsoft.WindowsAzure.Commands.SqlDatabase.Services.Server.Database database ) : Microsoft.WindowsAzure.Commands.SqlDatabase.Services.Server.Database

Refresh the object by requerying for the object and merge changes.

RefreshEntity ( Microsoft.WindowsAzure.Commands.SqlDatabase.Services.Server.DatabaseCopy databaseCopy ) : Microsoft.WindowsAzure.Commands.SqlDatabase.Services.Server.DatabaseCopy

Refresh the object by requerying for the object and merge changes.

RevertChanges ( Microsoft.WindowsAzure.Commands.SqlDatabase.Services.Server.Database database ) : void

Revert the changes made to the given object, detach it from the context.

RevertChanges ( Microsoft.WindowsAzure.Commands.SqlDatabase.Services.Server.DatabaseCopy databaseCopy ) : void

Revert the changes made to the given object, detach it from the context.

ServerDataServiceContext ( Uri serviceUri ) : System

Initializes a new instance of the ServerDataServiceContext class.

Приватные методы

Метод Описание
BeforeSendingRequest ( object sender, System.Data.Services.Client.SendingRequestEventArgs e ) : void

Handler that appends the token to every data access context request.

Описание методов

OnEnhanceRequest() защищенный Метод

Handler to add additional headers and properties to the request.
protected OnEnhanceRequest ( HttpWebRequest request ) : void
request System.Net.HttpWebRequest The request to enhance.
Результат void

RefreshEntity() защищенный Метод

Refresh the object by requerying for the object and merge changes.
protected RefreshEntity ( Microsoft.WindowsAzure.Commands.SqlDatabase.Services.Server.Database database ) : Microsoft.WindowsAzure.Commands.SqlDatabase.Services.Server.Database
database Microsoft.WindowsAzure.Commands.SqlDatabase.Services.Server.Database The object to refresh.
Результат Microsoft.WindowsAzure.Commands.SqlDatabase.Services.Server.Database

RefreshEntity() защищенный Метод

Refresh the object by requerying for the object and merge changes.
protected RefreshEntity ( Microsoft.WindowsAzure.Commands.SqlDatabase.Services.Server.DatabaseCopy databaseCopy ) : Microsoft.WindowsAzure.Commands.SqlDatabase.Services.Server.DatabaseCopy
databaseCopy Microsoft.WindowsAzure.Commands.SqlDatabase.Services.Server.DatabaseCopy The object to refresh.
Результат Microsoft.WindowsAzure.Commands.SqlDatabase.Services.Server.DatabaseCopy

RevertChanges() защищенный Метод

Revert the changes made to the given object, detach it from the context.
protected RevertChanges ( Microsoft.WindowsAzure.Commands.SqlDatabase.Services.Server.Database database ) : void
database Microsoft.WindowsAzure.Commands.SqlDatabase.Services.Server.Database The object that is being operated on.
Результат void

RevertChanges() защищенный Метод

Revert the changes made to the given object, detach it from the context.
protected RevertChanges ( Microsoft.WindowsAzure.Commands.SqlDatabase.Services.Server.DatabaseCopy databaseCopy ) : void
databaseCopy Microsoft.WindowsAzure.Commands.SqlDatabase.Services.Server.DatabaseCopy The object that is being operated on.
Результат void

ServerDataServiceContext() защищенный Метод

Initializes a new instance of the ServerDataServiceContext class.
protected ServerDataServiceContext ( Uri serviceUri ) : System
serviceUri System.Uri The service's base .
Результат System