Posted By


wearetherock on 06/03/10

Tagged


Statistics


Viewed 105 times
Favorited by 0 user(s)

CastleActiveRecord SlicedFindAllByName


/ Published in: C#
Save to your folder(s)



Copy this code and paste it in your HTML
  1. public static DbTemplateNw[] SlicedFindAllByName(String name, int count)
  2. {
  3. DbTemplateNw[] result = (DbTemplateNw[]) SlicedFindAll(typeof(DbTemplateNw), 0, 10,
  4. new Order[] { new Order("Name", true) }, Expression.Eq("Name", name));
  5. return result;
  6. }

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.