private INakedObjectAdapter GetAdapterByOidTranslation(IOidTranslation objectId) {
            if (objectId == null) {
                return null;
            }

            var oid = objectId.GetOid(this);
            return GetAdapterByOid(oid.Value as IOid);
        }
        public object GetDomainObjectByOid(IOidTranslation objectId) {
            if (objectId == null) {
                return null;
            }

            var oid = objectId.GetOid(this);
            return GetAdapterByOid(oid.Value as IOid).GetDomainObject();
        }
        private INakedObjectAdapter GetAdapterByOidTranslation(IOidTranslation objectId)
        {
            if (objectId == null)
            {
                return(null);
            }

            var oid = objectId.GetOid(this);

            return(GetAdapterByOid(oid.Value as IOid));
        }
Exemple #4
0
        public object GetDomainObjectByOid(IOidTranslation objectId)
        {
            if (objectId == null)
            {
                return(null);
            }

            var oid = objectId.GetOid(this);

            return(GetAdapterByOid(oid.Value as IOid).GetDomainObject());
        }