public override XE BuildRequestDocument() { var request = BuildBaseDocument(RequestCode.Kind.GetAccount); request.Add(new XE(C.QueryCriteria, new XA(C.conditions, Conditions), ColumnValues.Select(condition => new XE(C.Condition, new XA(C.name, condition.Column), new XA(C.value, condition.Value))))); request.Add(new XE(C.ResultSetDefinition, Columns.Select(column => new XE(C.Column, column.Name)))); return request; }
public override XE BuildRequestDocument() { var request = BuildBaseDocument(RequestCode.Kind.GetCustomer); request.Add( new XE(C.QueryCriteria, new XA(C.conditions, Conditions), ColumnValues.Select(cv => new XE(C.Condition, new XA(C.name, cv.Column), new XA(C.value, cv.Value))))); request.Add(new XE(C.ResultSetDefinition, Columns.Select(c => new XE(C.Column, c.Name)))); return(request); }