/// <summary> /// Deprecated Method for adding a new object to the MemoryTypes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToMemoryTypes(MemoryType memoryType) { base.AddObject("MemoryTypes", memoryType); }
private bool FilterMemoryType(MemoryType entity) { return (entity.Id == this.MemoryTypeId); }
/// <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; }