Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- return EntityQuery.from('Personnels')
- .select('id', 'fname', 'lname')
- .toType('Personnel')
- .using(manager).execute()
- .then(querySucceeded, _queryFailed)
- public class Personnel
- {
- public Personnel(){}
- //[Key]
- public int Id { get; set; }
- public string Dsn { get; set; }
- public string Fname { get; set; }
- public string Lname { get; set; }
- <div data-cc-widget-header title="{{vm.title}}"
- subtitle="{{vm.employees.length}}"></div>
- <div class="widget-content user">
- <div class="padd" data-ng-repeat="e in vm.employees">
- <div class="user">
- <div class="user-details">
- <h2>firstname is {{e.fname}}</h2>
- <h2>lastname is {{e.lname}}</h2>
- <h3>id is {{e.id}}</h3>
- </div>
- </div>
- </div>"
- return EntityQuery.from('Personnels')
- .select('id, fname, lname')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement