i search this question in this site and got something like this :
" If you need to access records directly, use IRepository<YourDesiredRecord>. It's a low-level mean of database access and you can do any queries Linq-to-NHibernate allows you to.
But if you are creating your own content type (with some custom content part on it, I suppose) you'd rather stick to IContentManager and it's Query method. It's a better way to go in this case. Querying
the IRepository will get you only the raw database records, but content manager will return the full content items (with all parts it has). "
my situation is : i have two data(properties) latitude and longitude which i got from client side,( already know), so i do not need admin board to save , i want to save them to db automatically with user Part (or connected to user part
in a way)
thanks for any help