private static object[] Take(FAMinutesInventoryFixedAssetEntity minutesInventoryFixedAsset)
 {
     return(new object[]
     {
         "@FullName", minutesInventoryFixedAsset.FullName,
         "@Representation", minutesInventoryFixedAsset.Representation,
         "@Role", minutesInventoryFixedAsset.Role,
         "@Title", minutesInventoryFixedAsset.Title
     });
 }
        /// <summary>
        /// Updates the fa minutes inventory fixed asset.
        /// </summary>
        /// <param name="minutesInventoryFixedAsset">The minutesInventoryFixedAsset.</param>
        /// <returns>System.String.</returns>
        public string UpdateFAMinutesInventoryFixedAsset(FAMinutesInventoryFixedAssetEntity minutesInventoryFixedAsset)
        {
            const string sql = @"uspUpdate_FAMinutesInventoryFixedAsset";

            return(Db.Update(sql, true, Take(minutesInventoryFixedAsset)));
        }
        /// <summary>
        /// Deletes the fa minutes inventory fixed asset.
        /// </summary>
        /// <param name="minutesInventoryFixedAsset">The minutesInventoryFixedAsset.</param>
        /// <returns>System.String.</returns>
        public string DeleteFAMinutesInventoryFixedAsset(FAMinutesInventoryFixedAssetEntity minutesInventoryFixedAsset)
        {
            const string sql = @"uspDelete_FAMinutesInventoryFixedAsset";

            return(Db.Delete(sql, true));
        }
        /// <summary>
        /// Inserts the fa minutes inventory fixed asset.
        /// </summary>
        /// <param name="minutesInventoryFixedAsset">The minutesInventoryFixedAsset.</param>
        /// <returns>System.String.</returns>
        public string InsertFAMinutesInventoryFixedAsset(FAMinutesInventoryFixedAssetEntity minutesInventoryFixedAsset)
        {
            const string sql = @"uspInsert_FAMinutesInventoryFixedAsset";

            return(Db.Insert(sql, true, Take(minutesInventoryFixedAsset)));
        }