Esempio n. 1
0
 /// <summary>
 /// Persons the flags duplication check dal.
 /// </summary>
 /// <param name="_objPersonFlags">The object person flags.</param>
 /// <returns>System.Int32.</returns>
 public int PersonFlags_DuplicationCheckDAL(PersonFlags _objPersonFlags, long CompanyID)
 {
     return(ExecuteScalarSPInt32("TMS_PersonFlags_DuplicationCheck",
                                 ParamBuilder.Par("ID", _objPersonFlags.ID),
                                 ParamBuilder.Par("P_FlagName", _objPersonFlags.P_FlagName),
                                 ParamBuilder.Par("OrganizationID", CompanyID)
                                 ));
 }
Esempio n. 2
0
        /// <summary>
        /// Persons the flags delete dal.
        /// </summary>
        /// <param name="_objPersonFlags">The object person flags.</param>
        /// <returns><c>true</c> if XXXX, <c>false</c> otherwise.</returns>
        public bool PersonFlags_DeleteDAL(PersonFlags _objPersonFlags)
        {
            var parameters = new[] { ParamBuilder.Par("IsDeleted", false) };

            return(ExecuteBoolwithOutPutparameterSp("TMS_PersonFlags_Delete", parameters,
                                                    ParamBuilder.Par("ID", _objPersonFlags.ID),
                                                    ParamBuilder.Par("UpdatedDate", _objPersonFlags.UpdatedDate),
                                                    ParamBuilder.Par("UpdatedBy", _objPersonFlags.UpdatedBy)));
        }
Esempio n. 3
0
 /// <summary>
 /// Persons the flags update dal.
 /// </summary>
 /// <param name="_objPersonFlags">The object person flags.</param>
 /// <returns>System.Int32.</returns>
 public int PersonFlags_UpdateDAL(PersonFlags _objPersonFlags)
 {
     return(ExecuteScalarInt32Sp("TMS_PersonFlags_Update",
                                 ParamBuilder.Par("ID", _objPersonFlags.ID),
                                 ParamBuilder.Par("P_FlagName", _objPersonFlags.P_FlagName),
                                 ParamBuilder.Par("S_FlagName", _objPersonFlags.S_FlagName),
                                 ParamBuilder.Par("FlagColor", _objPersonFlags.FlagColor),
                                 ParamBuilder.Par("UpdatedDate", _objPersonFlags.UpdatedDate),
                                 ParamBuilder.Par("UpdatedBy", _objPersonFlags.UpdatedBy)));
 }
Esempio n. 4
0
        /// <summary>
        /// Persons the flags create dal.
        /// </summary>
        /// <param name="_objPersonFlags">The object person flags.</param>
        /// <returns>System.Int64.</returns>
        public long PersonFlags_CreateDAL(PersonFlags _objPersonFlags)
        {
            var parameters = new[] { ParamBuilder.Par("ID", 0) };

            return(ExecuteInt64withOutPutparameterSp("TMS_PersonFlags_Create", parameters,
                                                     ParamBuilder.Par("P_FlagName", _objPersonFlags.P_FlagName),
                                                     ParamBuilder.Par("S_FlagName", _objPersonFlags.S_FlagName),
                                                     ParamBuilder.Par("FlagColor", _objPersonFlags.FlagColor),
                                                     ParamBuilder.Par("OrganizationID", _objPersonFlags.OrganizationID),
                                                     ParamBuilder.Par("CreatedDate", _objPersonFlags.CreatedDate),
                                                     ParamBuilder.Par("CreatedBy", _objPersonFlags.CreatedBy)));
        }
 /// <summary>
 /// Persons the flags create bal.
 /// </summary>
 /// <param name="_objPersonFlags">The object person flags.</param>
 /// <returns>System.Int64.</returns>
 public long PersonFlags_CreateBAL(PersonFlags _objPersonFlags)
 {
     return(_ConfigurationDAL.PersonFlags_CreateDAL(_objPersonFlags));
 }
 /// <summary>
 /// Persons the flags get count by Person Id bal.
 /// </summary>
 /// <param name="_objPersonFlags">The object person flags.</param>
 /// <param name="PersonId">The PersonId.</param>
 /// <returns>System.Int32.</returns>
 public int PersonFlags_GetCountByPersonIDBAL(PersonFlags _objPersonFlags, string PersonId)
 {
     return(_ConfigurationDAL.PersonFlags_GetCountByPersonIDDAL(_objPersonFlags, PersonId));
 }
 /// <summary>
 /// Persons the flags duplication check bal.
 /// </summary>
 /// <param name="_objPersonFlags">The object person flags.</param>
 /// <returns>System.Int32.</returns>
 public int PersonFlags_DuplicationCheckBAL(PersonFlags _objPersonFlags, long CompanyID)
 {
     return(_ConfigurationDAL.PersonFlags_DuplicationCheckDAL(_objPersonFlags, CompanyID));
 }
 /// <summary>
 /// Persons the flags delete bal.
 /// </summary>
 /// <param name="_objPersonFlags">The object person flags.</param>
 /// <returns><c>true</c> if XXXX, <c>false</c> otherwise.</returns>
 public bool PersonFlags_DeleteBAL(PersonFlags _objPersonFlags)
 {
     return(_ConfigurationDAL.PersonFlags_DeleteDAL(_objPersonFlags));
 }
 /// <summary>
 /// Persons the flags update bal.
 /// </summary>
 /// <param name="_objPersonFlags">The object person flags.</param>
 /// <returns>System.Int32.</returns>
 public int PersonFlags_UpdateBAL(PersonFlags _objPersonFlags)
 {
     return(_ConfigurationDAL.PersonFlags_UpdateDAL(_objPersonFlags));
 }
Esempio n. 10
0
 /// <summary>
 /// Persons the flags get count by person id dal.
 /// </summary>
 /// <param name="_objPersonFlags">The object person flags.</param>
 /// <param name="PersonId">The person identifier.</param>
 /// <returns>System.Int32.</returns>
 public int PersonFlags_GetCountByPersonIDDAL(PersonFlags _objPersonFlags, string PersonId)
 {
     return(ExecuteScalarSPInt32("TMS_PersonEmailAddresses_GetCountByPersonID",
                                 ParamBuilder.Par("PersonID", PersonId)));
 }