Skip to content

Commit 6c0cb3b

Browse files
committed
Minor fix to naming
1 parent 1156e55 commit 6c0cb3b

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

src/DataverseProxyGenerator.Core/Templates/Body/EntityClass.scriban-cs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -169,24 +169,24 @@ public partial class {{table.SchemaName}} : ExtendedEntity{{ if table.Interfaces
169169
/// <summary>
170170
/// Gets the logical column name for a property on the {{table.SchemaName}} entity, using the AttributeLogicalNameAttribute if present.
171171
/// </summary>
172-
/// <param name="lambda">Expression to pick the column</param>
172+
/// <param name="column">Expression to pick the column</param>
173173
/// <returns>Name of column</returns>
174174
/// <exception cref="ArgumentNullException">If no expression is provided</exception>
175175
/// <exception cref="ArgumentException">If the expression is not x => x.column</exception>
176-
public static string GetColumnName(Expression<Func<{{table.SchemaName}}, object>> lambda)
176+
public static string GetColumnName(Expression<Func<{{table.SchemaName}}, object>> column)
177177
{
178-
return TableAttributeHelpers.GetColumnName(lambda);
178+
return TableAttributeHelpers.GetColumnName(column);
179179
}
180180

181181
/// <summary>
182-
/// Retrieves a {{table.SchemaName}} with the specified attributes.
182+
/// Retrieves the {{table.SchemaName}} with the specified columns.
183183
/// </summary>
184184
/// <param name="service">Organization service</param>
185185
/// <param name="id">Id of {{table.SchemaName}} to retrieve</param>
186-
/// <param name="attrs">Expressions that specify attributes to retrieve</param>
186+
/// <param name="columns">Expressions that specify columns to retrieve</param>
187187
/// <returns>The retrieved {{table.SchemaName}}</returns>
188-
public static {{table.SchemaName}} Retrieve(IOrganizationService service, Guid id, params Expression<Func<{{table.SchemaName}}, object>>[] attrs)
188+
public static {{table.SchemaName}} Retrieve(IOrganizationService service, Guid id, params Expression<Func<{{table.SchemaName}}, object>>[] columns)
189189
{
190-
return service.Retrieve(id, attrs);
190+
return service.Retrieve(id, columns);
191191
}
192192
}

0 commit comments

Comments
 (0)