Exemplo n.º 1
0
 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()
 };
Exemplo n.º 2
0
 public List <SqlParameter> MapParamsForDelete(CommentTypeData entity) => MapParamsForDelete(entity.CommentTypeKey);