public TerritoriesProxyStub Territories_GetByPrimaryKey(System.String territoryID) { Territories obj = new Territories(); if (obj.LoadByPrimaryKey(territoryID)) { return(obj); } return(null); }