예제 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the MemoryTypes EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToMemoryTypes(MemoryType memoryType)
 {
     base.AddObject("MemoryTypes", memoryType);
 }
예제 #2
0
 private bool FilterMemoryType(MemoryType entity)
 {
     return (entity.Id == this.MemoryTypeId);
 }
예제 #3
0
 /// <summary>
 /// Create a new MemoryType object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 public static MemoryType CreateMemoryType(global::System.Int32 id, global::System.String name)
 {
     MemoryType memoryType = new MemoryType();
     memoryType.Id = id;
     memoryType.Name = name;
     return memoryType;
 }