コード例 #1
0
 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)));
 }
コード例 #2
0
 public ILayerMethod GetByRelationParent(IRelation relation, IEnvironmentHelper environment)
 {
     return(new LayerMethod(String.Format("GetCollectionBy{0}", relation.ChildAttributes.ToNamesString("")),
                            environment.ToParams(relation.ChildAttributes)));
 }
コード例 #3
0
 public ILayerMethod GetProxyById(IPrimaryId primaryId, IEnvironmentHelper environment)
 {
     return(new LayerMethod(String.Format("Get{0}ById", primaryId.Entity.Name),
                            environment.ToParams(primaryId.Attributes)));
 }
コード例 #4
0
 public ILayerMethod GetById(IPrimaryId primaryId, IEnvironmentHelper environment)
 {
     return(new LayerMethod("GetById", environment.ToParams(primaryId.Attributes)));
 }