public List <SqlParameter> MapParamsForUpsert(CommentTypeData entity) => new List <SqlParameter> { BuildParam("@comment_type_key", entity.CommentTypeKey), BuildParam("@comment_type_code", entity.CommentTypeCode), BuildParam("@comment_type_name", entity.CommentTypeName), BuildParam("@comment_type_desc", entity.CommentTypeDesc), GetOutParam() };
public List <SqlParameter> MapParamsForDelete(CommentTypeData entity) => MapParamsForDelete(entity.CommentTypeKey);