internal void Fill(WmXmlPackage wmXmlPackage) { if (null == wmXmlPackage) { throw new ArgumentNullException(nameof(wmXmlPackage)); } ContractId = wmXmlPackage.SelectInt32("@contractid"); WmId = wmXmlPackage.SelectWmId("@wmid"); AcceptTime = wmXmlPackage.SelectWmDateTimeIfExists("@acceptdate"); }