コード例 #1
0
ファイル: Parameter.cs プロジェクト: wonderplayer/pnpcore
 public override string ToString()
 {
     if (SelectAllProperties)
     {
         return($"<Query SelectAllProperties=\"{SelectAllProperties.ToString().ToLower()}\"><Properties /></Query>");
     }
     else
     {
         string properties = string.Join("", Properties.Select(value => $"<Property Name=\"{value.Name}\" ScalarProperty=\"true\" />"));
         return($"<Query SelectAllProperties=\"{SelectAllProperties.ToString().ToLower()}\"><Properties>{properties}</Properties></Query>");
     }
 }
コード例 #2
0
 public override string ToString()
 {
     return($"<Query SelectAllProperties=\"{SelectAllProperties.ToString().ToLower()}\"><Properties /></Query>");
 }