/// <summary> /// Deprecated Method for adding a new object to the MdaRanks EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToMdaRanks(MdaRank mdaRank) { base.AddObject("MdaRanks", mdaRank); }
/// <summary> /// Create a new MdaRank object. /// </summary> /// <param name="id">Initial value of the ID property.</param> /// <param name="guid">Initial value of the Guid property.</param> /// <param name="createdBy">Initial value of the CreatedBy property.</param> /// <param name="createdAt">Initial value of the CreatedAt property.</param> /// <param name="name">Initial value of the Name property.</param> /// <param name="shortname">Initial value of the Shortname property.</param> /// <param name="value">Initial value of the Value property.</param> /// <param name="isActive">Initial value of the IsActive property.</param> /// <param name="timestamp">Initial value of the Timestamp property.</param> /// <param name="mdaCountryID">Initial value of the MdaCountryID property.</param> public static MdaRank CreateMdaRank(global::System.Int32 id, global::System.Guid guid, global::System.String createdBy, global::System.DateTime createdAt, global::System.String name, global::System.String shortname, global::System.String value, global::System.Boolean isActive, global::System.Byte[] timestamp, global::System.Int32 mdaCountryID) { MdaRank mdaRank = new MdaRank(); mdaRank.ID = id; mdaRank.Guid = guid; mdaRank.CreatedBy = createdBy; mdaRank.CreatedAt = createdAt; mdaRank.Name = name; mdaRank.Shortname = shortname; mdaRank.Value = value; mdaRank.IsActive = isActive; mdaRank.Timestamp = timestamp; mdaRank.MdaCountryID = mdaCountryID; return mdaRank; }