public ILayerMethod GetProxyByUniqueId(IUniqueId uniqueId, IEnvironmentHelper environment) { return(new LayerMethod(String.Format("Get{0}By{1}", uniqueId.Entity.Name, uniqueId.Attributes.ToNamesString("")), environment.ToParams(uniqueId.Attributes))); }
public ILayerMethod GetByRelationParent(IRelation relation, IEnvironmentHelper environment) { return(new LayerMethod(String.Format("GetCollectionBy{0}", relation.ChildAttributes.ToNamesString("")), environment.ToParams(relation.ChildAttributes))); }
public ILayerMethod GetProxyById(IPrimaryId primaryId, IEnvironmentHelper environment) { return(new LayerMethod(String.Format("Get{0}ById", primaryId.Entity.Name), environment.ToParams(primaryId.Attributes))); }
public ILayerMethod GetById(IPrimaryId primaryId, IEnvironmentHelper environment) { return(new LayerMethod("GetById", environment.ToParams(primaryId.Attributes))); }