コード例 #1
0
 private static void SetBizProperties(DataRow dataObject, ObjectFormatListItem bizObject)
 {
     bizObject.IsDefault       = Converter.ToInt32(dataObject.Field <decimal?>("FormatIdToCheck"), 0) == bizObject.Id;
     bizObject.LockedByIcon    = LockableEntityObject.GetLockedByIcon(bizObject.LockedBy);
     bizObject.LockedByToolTip = LockableEntityObject.GetLockedByToolTip(bizObject.LockedBy, bizObject.LockedByFullName);
 }
コード例 #2
0
ファイル: PageRowMapper.cs プロジェクト: AuthorProxy/QP
 private static void SetBizProperties(DataRow dataObject, PageListItem bizObject)
 {
     bizObject.LockedByIcon    = LockableEntityObject.GetLockedByIcon(bizObject.LockedBy);
     bizObject.LockedByToolTip = LockableEntityObject.GetLockedByToolTip(bizObject.LockedBy, bizObject.LockedByFullName);
 }