/// <summary> /// Creates the specified name. /// </summary> /// <param name="Name">The name.</param> /// <param name="IsDefault">if set to <c>true</c> [is default].</param> /// <returns></returns> public static int Create(string Name, bool IsDefault) { BasePlanSlotRow row = new BasePlanSlotRow(); row.Name = Name; row.IsDefault = IsDefault; row.Update(); return row.PrimaryKeyId; }
private BasePlanSlot(BasePlanSlotRow row) { _srcRow = row; }