예제 #1
0
        public Default(SPListItem spItem)
        {
            //base.GetSPListItemData(spItem);
            base.Init(spItem, Zeppelin.ShP.Helper.Enums.AttachmentsLoadMode.Short);
            SingleLineOfText = spItem.GetFieldStringValue(DefaultList.Fields.SingleLineOfText);
            Number = spItem.GetFieldDoubleValue(DefaultList.Fields.Number, 0);
            NumberDecimals = spItem.GetFieldDoubleValue(DefaultList.Fields.NumberDecimals, 0);
            MultipleLinesOfText = spItem.GetFieldStringValue(DefaultList.Fields.MultipleLinesOfText);
            MultiRichTextHTML = spItem.GetFieldStringValue(DefaultList.Fields.MultiRichTextHTML);
            PublishingHTML = spItem.GetFieldStringValue(DefaultList.Fields.PublishingHTML);

            Lookup = spItem.GetFieldLookupValue(DefaultList.Fields.Lookup);
            MultiLookupColumns = spItem.GetFieldMultiLookupValues(DefaultList.Fields.MultiLookupColumns);
            Boolean = spItem.GetFieldBooleanValueOrNull(DefaultList.Fields.Boolean);
            
        }