internal ODataCommand(ODataCommand ancestor)
 {
     _schema = ancestor._schema;
     _parent = ancestor._parent;
     _collectionName = ancestor._collectionName;
     _derivedCollectionName = ancestor._derivedCollectionName;
     _functionName = ancestor._functionName;
     _keyValues = ancestor._keyValues;
     _namedKeyValues = ancestor._namedKeyValues;
     _entryData = ancestor._entryData;
     _parameters = ancestor._parameters;
     _filter = ancestor._filter;
     _skipCount = ancestor._skipCount;
     _topCount = ancestor._topCount;
     _expandAssociations = ancestor._expandAssociations;
     _selectColumns = ancestor._selectColumns;
     _orderbyColumns = ancestor._orderbyColumns;
     _computeCount = ancestor._computeCount;
     _inlineCount = ancestor._inlineCount;
     _linkName = ancestor._linkName;
 }
 public ODataCommand(ODataClientWithCommand client, ODataCommand parent)
 {
     _client = client;
     _parent = parent;
 }
 public ODataClientWithCommand Link(ODataCommand command, string linkName)
 {
     var linkedClient = new ODataClientWithCommand(_client, _schema, command);
     linkedClient._command.Link(linkName);
     return linkedClient;
 }
 public ODataCommand(ISchema schema, ODataCommand parent)
 {
     _schema = schema;
     _parent = parent;
 }
 public ODataClientWithCommand(ODataClient client, ISchema schema, ODataCommand parent = null)
 {
     _client = client;
     _schema = schema;
     _command = new ODataCommand(this, parent);
 }