DP
Size: a a a
DP
AB
AB
DP
AB
AB
DP
using (var uow = GetUnitOfWork())
{
var statusFieldCode = Common.Dao.DbMetadata.FieldCode.PUBLICATION_ISSUE_STATUS;
var queryable = uow.Repository.GetAll<ContentItem>();
var statusCode = queryable.Single(_ => _.Id == contentItemId)
.FieldData.Single(_ => _.Field.Code == statusFieldCode).FieldListValues.Single().Code;
}
DP
AP
AP
DP
DP
AP
AB
AB
AB
I
AP
AB
let arr = [1,2,3]
let arr2 = arr.map { $0 * $0 }
print(arr2) // [1,4,9]