コード例 #1
0
ファイル: StreamDescriptor.cs プロジェクト: tapika/swupd
 /// <summary>
 /// Creates a StreamDescriptor class with the given name and other information
 /// </summary>
 /// <param name="name">name of the stream.</param>
 /// <param name="entityDescriptor">instance of entity descriptor that contains this stream.</param>
 internal StreamDescriptor(string name, EntityDescriptor entityDescriptor) : base(EntityStates.Unchanged)
 {
     Debug.Assert(!String.IsNullOrEmpty(name), "!String.IsNullOrEmpty(name)");
     Debug.Assert(entityDescriptor != null, "entityDescriptor != null");
     this.streamLink       = new DataServiceStreamLink(name);
     this.entityDescriptor = entityDescriptor;
 }
コード例 #2
0
ファイル: StreamDescriptor.cs プロジェクト: tapika/swupd
 /// <summary>
 /// Creates a StreamDescriptor class for the default stream (MR) associated with an entity.
 /// </summary>
 /// <param name="entityDescriptor">instance of entity descriptor that contains this stream.</param>
 internal StreamDescriptor(EntityDescriptor entityDescriptor)
     : base(EntityStates.Unchanged)
 {
     Debug.Assert(entityDescriptor != null, "entityDescriptor != null");
     this.streamLink       = new DataServiceStreamLink(null);
     this.entityDescriptor = entityDescriptor;
 }
コード例 #3
0
ファイル: StreamDescriptor.cs プロジェクト: nickchal/pash
 internal StreamDescriptor(string name, System.Data.Services.Client.EntityDescriptor entityDescriptor) : base(EntityStates.Unchanged)
 {
     this.streamLink = new DataServiceStreamLink(name);
     this.entityDescriptor = entityDescriptor;
 }
コード例 #4
0
 internal StreamDescriptor(string name, System.Data.Services.Client.EntityDescriptor entityDescriptor) : base(EntityStates.Unchanged)
 {
     this.streamLink       = new DataServiceStreamLink(name);
     this.entityDescriptor = entityDescriptor;
 }